include pygtk version
This commit is contained in:
parent
2c45b379fc
commit
bff7ba63c7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue