- Remove transfer credit html

This commit is contained in:
Wong Yiek Heng 2025-10-06 07:48:13 +08:00
parent 6b6299ac06
commit 33119d26cd

View File

@ -430,8 +430,8 @@ class CM_BOT:
data=transfer_data,
headers=self.transfer_credit_headers
)
with open('transfer_credit.html', 'wb') as f:
f.write(response.content)
# with open('transfer_credit.html', 'wb') as f:
# f.write(response.content)
return True if re.search(r'Successfully saved the record\.', response.text) else False
def get_user_credit(self):