From 5f561dabdac524cf0a66174e99a54de30dd84846 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 3 Aug 2009 19:49:47 +0000 Subject: [PATCH] fix a bug in the Config class relating to the config directory --- deluge/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/config.py b/deluge/config.py index 656f3fac0..1ee6da63f 100644 --- a/deluge/config.py +++ b/deluge/config.py @@ -72,6 +72,7 @@ import shutil import os import deluge.common +import deluge.configmanager from deluge.log import LOG as log json = deluge.common.json @@ -152,7 +153,7 @@ class Config(object): if config_dir: self.__config_file = os.path.join(config_dir, filename) else: - self.__config_file = deluge.common.get_default_config_dir(filename) + self.__config_file = deluge.configmanager.get_config_dir(filename) self.load()