This commit is contained in:
Kovid Goyal 2017-03-01 13:03:13 +05:30
parent 9c90bd1f59
commit 07942bda23

View File

@ -100,7 +100,7 @@ def update_plugin(name, updated, expected_hash):
updated[name] = plugin, h updated[name] = plugin, h
def main(report_error, report_action=prints): def main(report_error=prints, report_action=prints):
try: try:
if time.time() - cache.mtime() < UPDATE_INTERVAL: if time.time() - cache.mtime() < UPDATE_INTERVAL:
report_action('Metadata sources cache was recently updated not updating again') report_action('Metadata sources cache was recently updated not updating again')