summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-11-14 16:35:47 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-11-14 16:35:47 +0800
commit1f195092b4473898077539571c579fa306be75e3 (patch)
tree1fd8556201921b5dc6ec4650e5a890ba4110559f /jimbrella
parentacdaf5a2dfe7a61fe00168ae96dcc750e9065a73 (diff)
Pass admin log to sync_database
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/routine.py3
1 files changed, 2 insertions, 1 deletions
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)