mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
raise FileNotFoundError to catch for reindex
This commit is contained in:
parent
7aaf140ccb
commit
3ef35a9d53
@ -174,7 +174,7 @@ class YoutubeVideo(YouTubeItem, YoutubeSubtitle):
|
||||
vid_path = os.path.join(cache_path, file_cached)
|
||||
return vid_path
|
||||
|
||||
return False
|
||||
raise FileNotFoundError
|
||||
|
||||
def add_player(self):
|
||||
"""add player information for new videos"""
|
||||
|
Loading…
Reference in New Issue
Block a user