+ Fix security pin no return result

This commit is contained in:
Wong Yiek Heng 2025-10-05 15:33:40 +08:00
parent d5a30dbe1d
commit 297186ae8a

View File

@ -159,6 +159,7 @@ class CM_BOT_HAL:
) )
if result == False: if result == False:
raise Exception('Failed to insert user to table user') raise Exception('Failed to insert user to table user')
return result
def get_user_credit(self, f_username: str, f_password: str): def get_user_credit(self, f_username: str, f_password: str):
cm_bot = CM_BOT() cm_bot = CM_BOT()