From 908c1a16be8f8a52f6acac4cd376815d06d0a9d7 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Wed, 16 Sep 2020 15:01:16 +0100 Subject: [PATCH] Fix logger.warn error Co-authored-by: poljar --- pantalaimon/daemon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pantalaimon/daemon.py b/pantalaimon/daemon.py index ab3a936..9efee6b 100755 --- a/pantalaimon/daemon.py +++ b/pantalaimon/daemon.py @@ -581,7 +581,10 @@ class ProxyDaemon: if password == "": if device_id is None: - logger.warn(f"Empty password provided and device_id was also None") + logger.warn( + "Empty password provided and device_id was also None, not " + "starting background sync client " + ) return # If password is blank, we cannot login normally and must # fall back to using the provided device_id.