浏览代码

[aes] Linter

dirkf 3 年之前
父节点
当前提交
e679476ea0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/aes.py

+ 1 - 1
youtube_dl/aes.py

@@ -303,7 +303,7 @@ def xor(data1, data2):
 
 
 
 
 def rijndael_mul(a, b):
 def rijndael_mul(a, b):
-    if(a == 0 or b == 0):
+    if (a == 0 or b == 0):
         return 0
         return 0
     return RIJNDAEL_EXP_TABLE[(RIJNDAEL_LOG_TABLE[a] + RIJNDAEL_LOG_TABLE[b]) % 0xFF]
     return RIJNDAEL_EXP_TABLE[(RIJNDAEL_LOG_TABLE[a] + RIJNDAEL_LOG_TABLE[b]) % 0xFF]