bugfix
This commit is contained in:
parent
d5b1d934c1
commit
c1fa4004a2
@ -39,7 +39,7 @@ async def get_tpac_balance(apikey, userid):
|
|||||||
d = json.loads(b.decode('utf-8'))
|
d = json.loads(b.decode('utf-8'))
|
||||||
if d['status'] == 'ok':
|
if d['status'] == 'ok':
|
||||||
return d['balance']
|
return d['balance']
|
||||||
exception(f'{url=}, {userid=}, {apikey=}, error')
|
exception(f'{url=}, {userid=}, {apikey=}, {b} error')
|
||||||
return None
|
return None
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
exception(f'{url=}, {userid=}, {apikey=}, error:{e}')
|
exception(f'{url=}, {userid=}, {apikey=}, error:{e}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user