mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 14:45:07 +01:00
Ensure 0 version updates are not reported
This commit is contained in:
parent
0e1a89c338
commit
6e87989022
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ def recalc_update_label(self, number_of_plugin_updates):
|
|||
|
||||
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…
Reference in a new issue