aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/aes.py
diff options
context:
space:
mode:
authordirkf <fieldhouse@gmx.net>2022-08-09 21:05:00 +0100
committerGitHub <noreply@github.com>2022-08-09 21:05:00 +0100
commitdeee741fb145360576ceae9d69b1b43db082c404 (patch)
treea52cc2ec86ad842fa396ec72662674a4ce1dcac0 /youtube_dl/aes.py
parentadb5294177265ba35b45746dbb600965076ed150 (diff)
downloadyoutube-dl-deee741fb145360576ceae9d69b1b43db082c404.tar.xz
[test, etc] Improve download test logs; also clean up some new flake8 issues (#31153)
* [test] Identify testcase errors better * [test] Identify download errors better * [extractor/minds] Linter * [extractor/aes] Linter
Diffstat (limited to 'youtube_dl/aes.py')
-rw-r--r--youtube_dl/aes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/aes.py b/youtube_dl/aes.py
index 461bb6d41..d0de2d93f 100644
--- a/youtube_dl/aes.py
+++ b/youtube_dl/aes.py
@@ -303,7 +303,7 @@ def xor(data1, data2):
def rijndael_mul(a, b):
- if(a == 0 or b == 0):
+ if (a == 0 or b == 0):
return 0
return RIJNDAEL_EXP_TABLE[(RIJNDAEL_LOG_TABLE[a] + RIJNDAEL_LOG_TABLE[b]) % 0xFF]