X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/3f724339dbe61fe84dd8e66e9c3b74ba6a9c6ddf..d77ab8e255e593d8534bdd47e84c0cc03c4e6efd:/youtube_dl/aes.py diff --git a/youtube_dl/aes.py b/youtube_dl/aes.py index 7817adcfd..a01c367de 100644 --- a/youtube_dl/aes.py +++ b/youtube_dl/aes.py @@ -161,7 +161,7 @@ def aes_decrypt_text(data, password, key_size_bytes): nonce = data[:NONCE_LENGTH_BYTES] cipher = data[NONCE_LENGTH_BYTES:] - class Counter: + class Counter(object): __value = nonce + [0] * (BLOCK_SIZE_BYTES - NONCE_LENGTH_BYTES) def next_value(self):