raise FileNotFoundError to catch for reindex

This commit is contained in:
simon 2022-02-05 09:30:34 +07:00
parent 7aaf140ccb
commit 3ef35a9d53
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -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"""