commit 0c0d8509cc1be1bc8a5fbc84a2ff7648190941cb
parent bf45b3847ae819b37df41ef9f7d658c44d390f69
Author: Brian C. Lane <bcl@brianlane.com>
Date: Sun, 27 May 2018 15:45:39 -0700
pass correct arguments when calling hourly_save_keystore again
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/clortho.py b/src/clortho.py
@@ -139,7 +139,7 @@ def handle_usr1(filename: str, keystore: Dict[str, Dict[str, str]]) -> None:
def hourly_save_keystore(loop: AbstractEventLoop, filename: str, keystore: Dict[str, Dict[str, str]]) -> None:
save_keystore(filename, keystore)
- loop.call_later(3600, hourly_save_keystore, loop)
+ loop.call_later(3600, hourly_save_keystore, loop, filename, keystore)
def save_keystore(filename: str, keystore: Dict[str, Dict[str, str]]) -> None:
#TODO: Write to a tempfile first, rename to target