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