Skip to content

Commit

Permalink
Fix format string error on 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
CasualYT31 committed Dec 23, 2024
1 parent 59e4088 commit 451de93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/tiktok.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def items(self):
id = post_info["id"]
title = post_info["desc"]
if len(title) == 0:
title = f"TikTok photo #{id}"
title = "TikTok photo #{}".format(id)
yield Message.Url, url, {
"title" : text.sanitize_for_filename(title)[:170],
"id" : id,
Expand Down

0 comments on commit 451de93

Please sign in to comment.