Fix #6325 (Internet Access)

This commit is contained in:
Kovid Goyal 2010-07-29 21:33:43 -06:00
parent d510953d06
commit b887d6a414

View File

@ -31,7 +31,7 @@ class CheckForUpdates(QThread):
'win' if iswindows else 'osx' if isosx else 'oth')
req.add_header('CALIBRE_INSTALL_UUID', prefs['installation_uuid'])
version = br.open(req).read().strip()
if version and version != __version__:
if version and version != __version__ and len(version) < 10:
self.update_found.emit(version)
except:
traceback.print_exc()