From 666297f6fb615cfbb14235c03c44e6dc29c7319f Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 27 Jun 2024 14:55:12 +0200 Subject: [PATCH] remove excessive warning on ancient machines; sqlite<3.9 combined with python<3.6> would always warn that `-e2t` is not supported, even when not requested --- copyparty/up2k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index e30fac8b..4d239dec 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -654,7 +654,7 @@ class Up2k(object): return False, flags ret = {k: v for k, v in flags.items() if not k.startswith("e2t")} - if ret.keys() == flags.keys(): + if len(ret) == len(flags): return False, flags return True, ret