Fix error when sending stats (quote_plus expects string not list).
This commit is contained in:
parent
33ac5beba5
commit
139519d7d1
|
@ -458,8 +458,9 @@ class PreferencesManager(component.Component):
|
||||||
url = "http://deluge-torrent.org/stats_get.php?processor=" + \
|
url = "http://deluge-torrent.org/stats_get.php?processor=" + \
|
||||||
platform.machine() + "&python=" + platform.python_version() \
|
platform.machine() + "&python=" + platform.python_version() \
|
||||||
+ "&deluge=" + deluge.common.get_version() \
|
+ "&deluge=" + deluge.common.get_version() \
|
||||||
+ "&os=" + platform.system() \
|
+ "&os=" + platform.system()
|
||||||
+ "&plugins=" + quote_plus(self.config["enabled_plugins"])
|
for plugin in self.config["enabled_plugins"]:
|
||||||
|
url += "&plugins=" + quote_plus(plugin)
|
||||||
urlopen(url)
|
urlopen(url)
|
||||||
except IOError, e:
|
except IOError, e:
|
||||||
log.debug("Network error while trying to send info: %s", e)
|
log.debug("Network error while trying to send info: %s", e)
|
||||||
|
|
Loading…
Reference in New Issue