include pygtk version

This commit is contained in:
Marcos Pinto 2007-08-07 04:24:44 +00:00
parent 2c45b379fc
commit bff7ba63c7
1 changed files with 3 additions and 4 deletions

View File

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