mirror of
https://github.com/9001/copyparty.git
synced 2025-08-16 16:42:13 -06:00
black
This commit is contained in:
parent
153d240d0d
commit
7d3a5c1e97
|
@ -52,7 +52,7 @@ if PY2:
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
bytes = str
|
bytes = str
|
||||||
files_decoder = lambda s: unicode(s, 'utf8')
|
files_decoder = lambda s: unicode(s, "utf8")
|
||||||
else:
|
else:
|
||||||
from urllib.parse import quote_from_bytes as quote
|
from urllib.parse import quote_from_bytes as quote
|
||||||
from urllib.parse import unquote_to_bytes as unquote
|
from urllib.parse import unquote_to_bytes as unquote
|
||||||
|
|
Loading…
Reference in a new issue