diff --git a/kupfer/core/settings.py b/kupfer/core/settings.py index b494960..b460c78 100644 --- a/kupfer/core/settings.py +++ b/kupfer/core/settings.py @@ -165,7 +165,7 @@ class SettingsController (gobject.GObject, pretty.OutputMixin): temp_config_path = "%s.%s" % (config_path, os.getpid()) with open(temp_config_path, "w") as out: parser.write(out) - os.rename(temp_config_path, config_path) + os.rename(temp_config_path, os.path.realpath(config_path)) def get_config(self, section, key): """General interface, but section must exist"""