mirror of
https://github.com/9001/copyparty.git
synced 2026-08-16 23:33:05 -06:00
lint
This commit is contained in:
parent
eeb399e3c9
commit
2be85b67a9
|
|
@ -1658,6 +1658,8 @@ class HttpCli(object):
|
|||
"expires": time.time() + self.args.wopi_ttl,
|
||||
}
|
||||
|
||||
assert atoken and session # type: ignore # !rm
|
||||
|
||||
xml = url = "?"
|
||||
try:
|
||||
from .dxml import parse_xml
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ RE_MEMAVAIL = re.compile("^MemAvailable:.* kB")
|
|||
|
||||
if PY2:
|
||||
|
||||
def umktrans(s1, s2):
|
||||
def umktrans(s1: str, s2: str):
|
||||
return {ord(c1): ord(c2) for c1, c2 in zip(s1, s2)}
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue