Tweaked update.py to properly call gettext function.

This commit is contained in:
Alex Dedul 2007-08-08 16:56:52 +00:00
parent 69103fdf49
commit b9a5b1c7a3
1 changed files with 2 additions and 0 deletions

View File

@ -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