From 4c3ca789a349a673896820d08fe1d585ad85f968 Mon Sep 17 00:00:00 2001 From: icxes Date: Tue, 5 Aug 2025 21:28:06 +0300 Subject: [PATCH] remove warning about .conf files in ~/.config/copyparty/ --- copyparty/svchub.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/copyparty/svchub.py b/copyparty/svchub.py index bd7562e4..bd744dcc 100644 --- a/copyparty/svchub.py +++ b/copyparty/svchub.py @@ -850,15 +850,6 @@ class SvcHub(object): def _check_env(self) -> None: al = self.args - try: - files = os.listdir(E.cfg) - except: - files = [] - - hits = [x for x in files if x.lower().endswith(".conf")] - if hits: - t = "WARNING: found config files in [%s]: %s\n config files are not expected here, and will NOT be loaded (unless your setup is intentionally hella funky)" - self.log("root", t % (E.cfg, ", ".join(hits)), 3) if self.args.no_bauth: t = "WARNING: --no-bauth disables support for the Android app; you may want to use --bauth-last instead"