From 88e494c197ccab4a1d0d4c49bb4400ee6b35b5cd Mon Sep 17 00:00:00 2001 From: John Garland Date: Wed, 24 Jun 2009 05:41:30 +0000 Subject: [PATCH] Fixed stats url encoding. --- deluge/core/preferencesmanager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deluge/core/preferencesmanager.py b/deluge/core/preferencesmanager.py index fc1cd8fc9..b2c0d193b 100644 --- a/deluge/core/preferencesmanager.py +++ b/deluge/core/preferencesmanager.py @@ -458,9 +458,8 @@ class PreferencesManager(component.Component): url = "http://deluge-torrent.org/stats_get.php?processor=" + \ platform.machine() + "&python=" + platform.python_version() \ + "&deluge=" + deluge.common.get_version() \ - + "&os=" + platform.system() - for plugin in self.config["enabled_plugins"]: - url += "&plugins=" + quote_plus(plugin) + + "&os=" + platform.system() \ + + "&plugins=" + quote_plus(":".join(self.config["enabled_plugins"])) urlopen(url) except IOError, e: log.debug("Network error while trying to send info: %s", e)