PEP8: more applied
This commit is contained in:
parent
5f6a1245ff
commit
8bcc875676
34 changed files with 123 additions and 132 deletions
|
@ -45,8 +45,8 @@ class YoukuIE(InfoExtractor):
|
|||
source = list("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/\:._-1234567890")
|
||||
seed = float(seed)
|
||||
for i in range(len(source)):
|
||||
seed = (seed * 211 + 30031) % 65536
|
||||
index = math.floor(seed / 65536 * len(source))
|
||||
seed = (seed * 211 + 30031) % 65536
|
||||
index = math.floor(seed / 65536 * len(source))
|
||||
mixed.append(source[int(index)])
|
||||
source.remove(source[int(index)])
|
||||
# return ''.join(mixed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue