Fix a traceback when we trigger the reload using a signal

This commit is contained in:
Florent Le Coz 2014-07-01 17:50:17 +02:00
parent ba32d74a61
commit d11ea32f0b

View file

@ -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():