From e68c70e2da2d3c84e0accf4a7e85e9dd93029e39 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Tue, 23 Nov 2021 16:23:04 +0800 Subject: Fetch givaback jForm in routine --- jimbrella/routine.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'jimbrella/routine.py') 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) -- cgit v1.2.3