From 892b54e1535b12dcbbdfb8c190064bc3e93ab212 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 2 Oct 2014 22:51:59 +0200 Subject: [PATCH] Fix saving of config. --- qutebrowser/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 942069468..e4336bdaa 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -512,7 +512,7 @@ class ConfigManager(QObject): return if not os.path.exists(self._configdir): os.makedirs(self._configdir, 0o755) - configfile = os.path.join(configdir, self._fname) + configfile = os.path.join(self._configdir, self._fname) log.destroy.debug("Saving config to {}".format(configfile)) with open(configfile, 'w', encoding='utf-8') as f: f.write(str(self))