Skip to content

Commit

Permalink
fix:separator(#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed Nov 27, 2024
1 parent 5ead198 commit e744a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def add_url_info(url, info):
Add url info to the URL
"""
if info:
separator = "|" if "$" in url else "$"
separator = "-" if "$" in url else "$"
url += f"{separator}{info}"
return url

Expand Down

0 comments on commit e744a34

Please sign in to comment.