mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9c90bd1f59
commit
07942bda23
@ -100,7 +100,7 @@ def update_plugin(name, updated, expected_hash):
|
||||
updated[name] = plugin, h
|
||||
|
||||
|
||||
def main(report_error, report_action=prints):
|
||||
def main(report_error=prints, report_action=prints):
|
||||
try:
|
||||
if time.time() - cache.mtime() < UPDATE_INTERVAL:
|
||||
report_action('Metadata sources cache was recently updated not updating again')
|
||||
|
Loading…
x
Reference in New Issue
Block a user