From b2b148994f0372f805c6d9becbe533b6ba0f20bc Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 16 Mar 2008 01:06:28 +0000 Subject: [PATCH] fix stats url --- src/common.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common.py b/src/common.py index 652004114..dbeaf6c6d 100644 --- a/src/common.py +++ b/src/common.py @@ -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: