From 88b8b6ea4ec5f504d6994c858279c444dfe27ad2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 20 Feb 2014 20:49:31 +0100 Subject: [PATCH] Improve config save warning --- qutebrowser/utils/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qutebrowser/utils/config.py b/qutebrowser/utils/config.py index 8a2c13aa5..d27980e24 100644 --- a/qutebrowser/utils/config.py +++ b/qutebrowser/utils/config.py @@ -259,8 +259,9 @@ class Config(ConfigParser): """Save the config file.""" if self._configdir is None or (not self._config_loaded and not self.always_save): - logging.error("Not saving config (dir {}, loaded {})".format( - self._configdir, self._config_loaded)) + logging.warning("Not saving config (dir {}, config {})".format( + self._configdir, 'loaded' if self._config_loaded + else 'not loaded')) return if not os.path.exists(self._configdir): os.makedirs(self._configdir, 0o755)