From 1f195092b4473898077539571c579fa306be75e3 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 14 Nov 2021 16:35:47 +0800 Subject: Pass admin log to sync_database --- jimbrella/routine.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jimbrella/routine.py') diff --git a/jimbrella/routine.py b/jimbrella/routine.py index c1f7870..471c498 100644 --- a/jimbrella/routine.py +++ b/jimbrella/routine.py @@ -133,4 +133,5 @@ if __name__ == "__main__": # ) giveback = None db = Database(DATABASE_PATH) - sync_database(takeaway, giveback, db) + admin_log = AdminLog(ADMIN_LOG_PATH) + sync_database(takeaway, giveback, db, admin_log) -- cgit v1.2.3