Spaces:
Sleeping
Sleeping
CaesarCloudSync commited on
Commit ·
3306588
1
Parent(s): 47411bd
add songs
Browse files- caesarmusic.py +1 -1
caesarmusic.py
CHANGED
|
@@ -74,7 +74,7 @@ class CaesarMusic:
|
|
| 74 |
|
| 75 |
# result of success
|
| 76 |
#print(yt.title + " has been successfully downloaded.")
|
| 77 |
-
except RuntimeError as rex:
|
| 78 |
print(rex)
|
| 79 |
self.clean_up_dir(download_dir,"mp3")
|
| 80 |
self.clean_up_dir(download_dir,"mp4")
|
|
|
|
| 74 |
|
| 75 |
# result of success
|
| 76 |
#print(yt.title + " has been successfully downloaded.")
|
| 77 |
+
except (RuntimeError,FileNotFoundError) as rex:
|
| 78 |
print(rex)
|
| 79 |
self.clean_up_dir(download_dir,"mp3")
|
| 80 |
self.clean_up_dir(download_dir,"mp4")
|