fix stats url
This commit is contained in:
parent
4dba4d730a
commit
b2b148994f
|
@ -225,9 +225,11 @@ def send_info(plugins=None):
|
|||
pygtk = '%i.%i.%i' %(gtk.pygtk_version[0],gtk.pygtk_version[1],gtk.pygtk_version[2])
|
||||
|
||||
try:
|
||||
urllib.urlopen("http://deluge-torrent.org/stats_get.php?processor=" + \
|
||||
url = "http://deluge-torrent.org/stats_get.php?processor=" + \
|
||||
platform.machine() + "&python=" + platform.python_version() \
|
||||
+ "&os=" + platform.system() + "&pygtk=" + pygtk + "&plugins=" + plugins)
|
||||
+ "&os=" + platform.system() + "&pygtk=" + pygtk + "&plugins=" + urllib.quote_plus(plugins)
|
||||
print url
|
||||
urllib.urlopen(url)
|
||||
except IOError:
|
||||
print "Network error while trying to send info"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue