downloadboob: pep8 fixes
This commit is contained in:
parent
cc0daad392
commit
c190a4e0e4
1 changed files with 19 additions and 18 deletions
|
|
@ -45,7 +45,8 @@ if sys.stdout.encoding is None:
|
|||
# end of hack
|
||||
|
||||
|
||||
def removeNonAscii(s): return "".join(i for i in s if ord(i)<128)
|
||||
def removeNonAscii(s):
|
||||
return "".join(i for i in s if ord(i) < 128)
|
||||
|
||||
rx = re.compile(u'[ \\/\\?\\:\\>\\<\\!\\\\\\*]+', re.UNICODE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue