summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-01 17:50:17 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-01 17:54:40 +0200
commitd11ea32f0b3194561b54ceeb98ce6ed91cc02803 (patch)
tree6466d576738335b93b80aa4d32b0da326e7dadaa /src
parentba32d74a61442c63b5366dd95b37d11e8fe3ab89 (diff)
downloadpoezio-d11ea32f0b3194561b54ceeb98ce6ed91cc02803.tar.gz
poezio-d11ea32f0b3194561b54ceeb98ce6ed91cc02803.tar.bz2
poezio-d11ea32f0b3194561b54ceeb98ce6ed91cc02803.tar.xz
poezio-d11ea32f0b3194561b54ceeb98ce6ed91cc02803.zip
Fix a traceback when we trigger the reload using a signal
Diffstat (limited to 'src')
-rw-r--r--src/core/core.py2
1 files changed, 1 insertions, 1 deletions
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():