From 25c4fa7f9baa778e388ea21e98e3b1ed980351b2 Mon Sep 17 00:00:00 2001 From: TheGreatDevourer Date: Thu, 29 Feb 2024 16:26:34 -0400 Subject: [PATCH] [refactor] removed print statement --- App/controllers/lockers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/controllers/lockers.py b/App/controllers/lockers.py index 7666ae0..491f476 100644 --- a/App/controllers/lockers.py +++ b/App/controllers/lockers.py @@ -20,7 +20,7 @@ def add_new_locker(locker_code,locker_type,status,key_id,area): db.session.add(locker) db.session.commit() if(get_key_by_id(key_id) is None): - print(create_key(key_id,'NoMKey',"AVAILABLE",datetime(2023,10,15))) + create_key(key_id,'NoMKey',"AVAILABLE",datetime(2023,10,15)) new_keyHistory(key_id,locker.locker_code,datetime.now().date()) return locker except SQLAlchemyError as e: