mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
rpc: fix small bug with calling toons
This commit is contained in:
parent
2722d7970e
commit
9ba059adc4
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ class ToontownRPCHandler(ToontownRPCHandlerBase):
|
||||||
if response is not None:
|
if response is not None:
|
||||||
response = json.loads(response)
|
response = json.loads(response)
|
||||||
if response['success'] is True:
|
if response['success'] is True:
|
||||||
return str(response['accountId'])
|
return int(response['accountId'])
|
||||||
else:
|
else:
|
||||||
print response['error']
|
print response['error']
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue