Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Jan 9, 2024
1 parent 623848f commit 9d7e32a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions redesc/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
DEFAULT_LIMIT: int = 1000000




class YouTubeAPI:
def __init__(
self,
Expand Down
2 changes: 1 addition & 1 deletion redesc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ async def callback( # noqa: C901
new_title=snippet["title"],
old_description=snippet["description"],
new_description=snippet["description"],
tags=snippet["tags"],
tags=snippet.get("tags") or [],
)
if not diff.tags:
diff.tags = tags.get(video_id, {"tags": []})["tags"]
Expand Down

0 comments on commit 9d7e32a

Please sign in to comment.