fix stats url

This commit is contained in:
Marcos Pinto 2008-03-16 01:06:28 +00:00
parent 4dba4d730a
commit b2b148994f
1 changed files with 4 additions and 2 deletions

View File

@ -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: