Send cached V1.0.8

This commit is contained in:
Patryk Mazur
2026-04-22 20:52:00 +02:00
parent 1f3c9cdaf6
commit c188c515e2
+1
View File
@@ -24,6 +24,7 @@ def rotate_downloads(downloads_dir: str):
def download_video(yt_url: str) -> dict:
yt_url = yt_url.split('&')[0]
MAX_DUR = os.getenv('MAX_DURATION')
if not MAX_DUR.isnumeric():
return {'status': 'error', 'message': f'MAX_DUR: "{MAX_DUR}" - nie jest cyfrą.'}