mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure 0 version updates are not reported
This commit is contained in:
parent
0e1a89c338
commit
6e87989022
@ -207,7 +207,7 @@ class UpdateMixin(object):
|
||||
|
||||
def update_found(self, calibre_version, number_of_plugin_updates, force=False, no_show_popup=False):
|
||||
self.last_newest_calibre_version = calibre_version
|
||||
has_calibre_update = calibre_version != NO_CALIBRE_UPDATE
|
||||
has_calibre_update = calibre_version != NO_CALIBRE_UPDATE and calibre_version[0] > 0
|
||||
has_plugin_updates = number_of_plugin_updates > 0
|
||||
self.plugin_update_found(number_of_plugin_updates)
|
||||
version_url = as_hex_unicode(msgpack_dumps((calibre_version, number_of_plugin_updates)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user