fix a bug in the Config class relating to the config directory

This commit is contained in:
Damien Churchill 2009-08-03 19:49:47 +00:00
parent c0ce36b216
commit 5f561dabda
1 changed files with 2 additions and 1 deletions

View File

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