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