Adding more stability to Searcher

This commit is contained in:
Rafael Vargas
2022-03-26 18:12:08 -04:00
parent 4c66c64041
commit f09568bd69
8 changed files with 29 additions and 55 deletions

View File

@@ -10,6 +10,10 @@ class Song(ISong):
self.__playlist: IPlaylist = playlist
def finish_down(self, info: dict) -> None:
if info is None:
self.destroy()
return None
self.__usefull_keys = ['duration',
'title', 'webpage_url',
'channel', 'id', 'uploader',