mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
fix a bug in the Config class relating to the config directory
This commit is contained in:
parent
c0ce36b216
commit
5f561dabda
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue