+ Fix wrong debug msg for transfer credit

This commit is contained in:
Wong Yiek Heng 2025-10-04 11:21:35 +08:00
parent e5ccafe4b5
commit 908d711cda

View File

@ -178,7 +178,7 @@ class CM_BOT_HAL:
raise Exception(f'[Cannot login] {f_username} cannot login.')
amount = cm_bot.get_user_credit() - 0.01
if amount <= 0.01:
print(f'[No enough credit] {t_username} do not have enough credit.')
print(f'[No enough credit] {f_username} do not have enough credit.')
if cm_bot.transfer_credit(t_username, t_password, amount) == True:
print(f'Successfully transfer amount: {amount} from {f_username} to {t_username}')
else: