From bff7ba63c7ad96b4ee02afa85a7bc2e6290839f0 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 7 Aug 2007 04:24:44 +0000 Subject: [PATCH] include pygtk version --- src/info.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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"