Fix nameerror exc.

This commit is contained in:
voussoir 2021-04-02 18:31:13 -07:00
parent 9b6af96b95
commit 451285ba0b
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -27,7 +27,7 @@ def get_user_videos(channel_id):
''' '''
try: try:
return _get_user_videos(channel_id) return _get_user_videos(channel_id)
except Exception: except Exception as exc:
raise exceptions.RSSAssistFailed(f'Failed to fetch RSS videos.') from exc raise exceptions.RSSAssistFailed(f'Failed to fetch RSS videos.') from exc
def get_user_videos_since(channel_id, video_id): def get_user_videos_since(channel_id, video_id):