Author: damoxc
Revision: 5778
Log:
add a comment and remove one of the OLD_CONFIG_KEYS
Diff:
Modified: trunk/deluge/ui/web/server.py
===================================================================
--- trunk/deluge/ui/web/server.py 2009-09-24 15:55:21 UTC (rev 5777)
+++ trunk/deluge/ui/web/server.py 2009-09-24 15:56:42 UTC (rev 5778)
@@ -111,7 +111,7 @@
OLD_CONFIG_KEYS = (
"port", "enabled_plugins", "base", "sidebar_show_zero",
"sidebar_show_trackers", "show_keyword_search", "show_sidebar",
- "cache_templates", "https"
+ "https"
)
def rpath(path):
@@ -450,6 +450,8 @@
super(DelugeWeb, self).__init__("DelugeWeb")
self.config = configmanager.ConfigManager("web.conf", CONFIG_DEFAULTS)
+ # Check to see if a configuration from the web interface prior to 1.2
+ # exists and convert it over.
if os.path.exists(configmanager.get_config_dir("webui06.conf")):
old_config = configmanager.ConfigManager("webui06.conf")
if old_config.config:
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---