From 7a55833bb29a9c6e6cc2d94b8ed4a39d2b84aaf3 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 13 Feb 2025 18:34:41 +0000 Subject: [PATCH] silence linter --- copyparty/up2k.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index eeaba1c0..d690de67 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -4628,12 +4628,12 @@ class Up2k(object): Optional[str], Optional[int], Optional[int], - Optional[str], + str, Optional[int], ]: cur = self.cur.get(ptop) if not cur: - return None, None, None, None, None, None + return None, None, None, None, "", None rd, fn = vsplit(vrem) q = "select w, mt, sz, ip, at from up where rd=? and fn=? limit 1" @@ -4647,7 +4647,7 @@ class Up2k(object): if hit: wark, ftime, fsize, ip, at = hit return cur, wark, ftime, fsize, ip, at - return cur, None, None, None, None, None + return cur, None, None, None, "", None def _forget_file( self,