mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
edfedd41ca
commit
b5396dd801
@ -228,3 +228,8 @@ class UpdateMixin(object):
|
|||||||
calibre_version, number_of_plugin_updates = cPickle.loads(binascii.unhexlify(url[len('update:'):]))
|
calibre_version, number_of_plugin_updates = cPickle.loads(binascii.unhexlify(url[len('update:'):]))
|
||||||
self.update_found(calibre_version, number_of_plugin_updates, force=True)
|
self.update_found(calibre_version, number_of_plugin_updates, force=True)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
from calibre.gui2 import Application
|
||||||
|
app = Application([])
|
||||||
|
UpdateNotification('x.y.z', False).exec_()
|
||||||
|
del app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user