diff --git a/src/info.py b/src/info.py index 0e19e600f..a76275188 100644 --- a/src/info.py +++ b/src/info.py @@ -4,13 +4,12 @@ import urllib import platform import common -import sys - -py_version = sys.version[:3] +import gtk +pygtk = '%i.%i.%i' %(gtk.pygtk_version[0],gtk.pygtk_version[1],gtk.pygtk_version[2]) urllib.urlopen("http://download.deluge-torrent.org/stats.php?processor=" + \ platform.machine() + "&python=" + platform.python_version() \ - + "&os=" + platform.system()) + + "&os=" + platform.system() + "&pygtk=" + pygtk) f = open(common.CONFIG_DIR + '/infosent', 'w') print "writing file infosent"