rpc: fix small bug with calling toons

This commit is contained in:
Master Jumblespeed 2015-08-16 16:10:47 -04:00
parent 2722d7970e
commit 9ba059adc4

View file

@ -441,7 +441,7 @@ class ToontownRPCHandler(ToontownRPCHandlerBase):
if response is not None:
response = json.loads(response)
if response['success'] is True:
return str(response['accountId'])
return int(response['accountId'])
else:
print response['error']
return False