Merge pull request #214 from exislow/184-bug-httperror-500-server-error-internal-server-error-for-url

Fixed bad logger call. Fixes #184
This commit is contained in:
exislow
2024-11-08 17:35:35 +01:00
committed by GitHub
+1 -1
View File
@@ -158,7 +158,7 @@ class Download:
self.progress_gui.item.emit(self.progress.tasks[p_task].percentage) self.progress_gui.item.emit(self.progress.tasks[p_task].percentage)
except HTTPError as e: except HTTPError as e:
# TODO: Handle Exception... # TODO: Handle Exception...
self.fn_logger(e) self.fn_logger.error(e)
if isinstance(media, Track) and stream_manifest.is_encrypted: if isinstance(media, Track) and stream_manifest.is_encrypted:
key, nonce = decrypt_security_token(stream_manifest.encryption_key) key, nonce = decrypt_security_token(stream_manifest.encryption_key)