Tweaked update.py to properly call gettext function.
This commit is contained in:
parent
69103fdf49
commit
b9a5b1c7a3
|
@ -4,6 +4,8 @@
|
|||
import urllib
|
||||
import sys
|
||||
|
||||
import __init__
|
||||
|
||||
new_release = urllib.urlopen("http://download.deluge-torrent.org/version").read().strip()
|
||||
if new_release > sys.argv[1]:
|
||||
import gtk
|
||||
|
|
Loading…
Reference in New Issue