mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
silence linter
This commit is contained in:
parent
7e4702cf09
commit
7a55833bb2
|
@ -4628,12 +4628,12 @@ class Up2k(object):
|
||||||
Optional[str],
|
Optional[str],
|
||||||
Optional[int],
|
Optional[int],
|
||||||
Optional[int],
|
Optional[int],
|
||||||
Optional[str],
|
str,
|
||||||
Optional[int],
|
Optional[int],
|
||||||
]:
|
]:
|
||||||
cur = self.cur.get(ptop)
|
cur = self.cur.get(ptop)
|
||||||
if not cur:
|
if not cur:
|
||||||
return None, None, None, None, None, None
|
return None, None, None, None, "", None
|
||||||
|
|
||||||
rd, fn = vsplit(vrem)
|
rd, fn = vsplit(vrem)
|
||||||
q = "select w, mt, sz, ip, at from up where rd=? and fn=? limit 1"
|
q = "select w, mt, sz, ip, at from up where rd=? and fn=? limit 1"
|
||||||
|
@ -4647,7 +4647,7 @@ class Up2k(object):
|
||||||
if hit:
|
if hit:
|
||||||
wark, ftime, fsize, ip, at = hit
|
wark, ftime, fsize, ip, at = hit
|
||||||
return cur, wark, ftime, fsize, ip, at
|
return cur, wark, ftime, fsize, ip, at
|
||||||
return cur, None, None, None, None, None
|
return cur, None, None, None, "", None
|
||||||
|
|
||||||
def _forget_file(
|
def _forget_file(
|
||||||
self,
|
self,
|
||||||
|
|
Loading…
Reference in a new issue