Author: damoxc
Revision: 5619
Log:
fix a bug in the Config class relating to the config directory
Diff:
Modified: trunk/deluge/config.py
===================================================================
--- trunk/deluge/config.py 2009-08-03 19:23:27 UTC (rev 5618)
+++ trunk/deluge/config.py 2009-08-03 19:49:47 UTC (rev 5619)
@@ -72,6 +72,7 @@
import os
import deluge.common
+import deluge.configmanager
from deluge.log import LOG as log
json = deluge.common.json
@@ -152,7 +153,7 @@
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()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---