From 07942bda232d3b23b9889a9587f5c0f8221ed7b8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 1 Mar 2017 13:03:13 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/metadata/sources/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/sources/update.py b/src/calibre/ebooks/metadata/sources/update.py index 7e8d4d8145..0ea83b8198 100644 --- a/src/calibre/ebooks/metadata/sources/update.py +++ b/src/calibre/ebooks/metadata/sources/update.py @@ -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')