mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fixed stats url encoding.
This commit is contained in:
parent
c62cf10dc8
commit
dbca7fbace
1 changed files with 2 additions and 3 deletions
|
@ -447,9 +447,8 @@ 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() \
|
||||||
for plugin in self.config["enabled_plugins"]:
|
+ "&plugins=" + quote_plus(":".join(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…
Add table
Add a link
Reference in a new issue