Fix version check (Bug #597121)

bzr-revno: 873
This commit is contained in:
Jon Tibble 2010-06-22 18:01:33 +01:00
commit aeee2ef898

View File

@ -153,7 +153,6 @@ def check_latest_version(current_version):
settings.setValue(u'last version test', QtCore.QVariant(this_test)) settings.setValue(u'last version test', QtCore.QVariant(this_test))
settings.endGroup() settings.endGroup()
if last_test != this_test: if last_test != this_test:
version_string = u''
if current_version[u'build']: if current_version[u'build']:
req = urllib2.Request( req = urllib2.Request(
u'http://www.openlp.org/files/dev_version.txt') u'http://www.openlp.org/files/dev_version.txt')