Skip to content

Commit

Permalink
Merge pull request #148 from bohning/Fix_removeprefix
Browse files Browse the repository at this point in the history
Remove removeprefix() to have a fully qualified URL.
  • Loading branch information
bohning authored Aug 20, 2023
2 parents 2161961 + 681fa41 commit 0983c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usdb_syncer/gui/meta_tags_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _urls_and_setters(tags: MetaTags) -> list[tuple[str, Callable[[str], None]]]

def _try_shorten_url(url: str) -> str:
try:
short = tinyurl.Shortener().short(url).removeprefix("https://")
short = tinyurl.Shortener().short(url)
except (
BadAPIResponseException,
BadURLException,
Expand Down

0 comments on commit 0983c9b

Please sign in to comment.