diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-11-23 16:23:04 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-11-23 16:23:04 +0800 |
commit | e68c70e2da2d3c84e0accf4a7e85e9dd93029e39 (patch) | |
tree | 239e6a189a6afea2ee2af7d84674f26c7ac61956 | |
parent | 1f195092b4473898077539571c579fa306be75e3 (diff) |
Fetch givaback jForm in routine
-rw-r--r-- | jimbrella/routine.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jimbrella/routine.py b/jimbrella/routine.py index 471c498..a4ad638 100644 --- a/jimbrella/routine.py +++ b/jimbrella/routine.py @@ -128,10 +128,7 @@ def process_overdue(db: Database): if __name__ == "__main__": takeaway = JForm("takeaway", JFORM_TAKEAWAY_URL, JFORM_BOOKMARK_DIR) - # giveback = JForm( - # "giveback", JFORM_GIVEBACK_URL, JFORM_BOOKMARK_DIR - # ) - giveback = None + giveback = JForm("giveback", JFORM_GIVEBACK_URL, JFORM_BOOKMARK_DIR) db = Database(DATABASE_PATH) admin_log = AdminLog(ADMIN_LOG_PATH) sync_database(takeaway, giveback, db, admin_log) |