From 297186ae8a69de40830226c2a7fb195f817ee9a5 Mon Sep 17 00:00:00 2001 From: Wong Yiek Heng Date: Sun, 5 Oct 2025 15:33:40 +0800 Subject: [PATCH] + Fix security pin no return result --- cm_bot_hal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cm_bot_hal.py b/cm_bot_hal.py index addd562..60f2232 100644 --- a/cm_bot_hal.py +++ b/cm_bot_hal.py @@ -159,6 +159,7 @@ class CM_BOT_HAL: ) if result == False: raise Exception('Failed to insert user to table user') + return result def get_user_credit(self, f_username: str, f_password: str): cm_bot = CM_BOT()