From d11ea32f0b3194561b54ceeb98ce6ed91cc02803 Mon Sep 17 00:00:00 2001
From: Florent Le Coz <louiz@louiz.org>
Date: Tue, 1 Jul 2014 17:50:17 +0200
Subject: Fix a traceback when we trigger the reload using a signal

---
 src/core/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/core')

diff --git a/src/core/core.py b/src/core/core.py
index 75f914f8..985fb752 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -391,7 +391,7 @@ class Core(object):
         log.debug("Reloading the config…")
         # Copy the old config in a dict
         old_config = config.to_dict()
-        config.read_file(config.file_name)
+        config.read_file()
         # Compare old and current config, to trigger the callbacks of all
         # modified options
         for section in config.sections():
-- 
cgit v1.2.3