Skip to content

Commit

Permalink
[refactor] removed print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatDevourer committed Feb 29, 2024
1 parent d6a9b2f commit 25c4fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/controllers/lockers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 25c4fa7

Please sign in to comment.