mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-18 15:51:57 +00:00
fix stats url
This commit is contained in:
parent
4dba4d730a
commit
b2b148994f
1 changed files with 4 additions and 2 deletions
|
@ -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])
|
pygtk = '%i.%i.%i' %(gtk.pygtk_version[0],gtk.pygtk_version[1],gtk.pygtk_version[2])
|
||||||
|
|
||||||
try:
|
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() \
|
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:
|
except IOError:
|
||||||
print "Network error while trying to send info"
|
print "Network error while trying to send info"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue