mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6325 (Internet Access)
This commit is contained in:
parent
d510953d06
commit
b887d6a414
@ -31,7 +31,7 @@ class CheckForUpdates(QThread):
|
|||||||
'win' if iswindows else 'osx' if isosx else 'oth')
|
'win' if iswindows else 'osx' if isosx else 'oth')
|
||||||
req.add_header('CALIBRE_INSTALL_UUID', prefs['installation_uuid'])
|
req.add_header('CALIBRE_INSTALL_UUID', prefs['installation_uuid'])
|
||||||
version = br.open(req).read().strip()
|
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)
|
self.update_found.emit(version)
|
||||||
except:
|
except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user