From 9ba059adc4d858ab05d652d1f7245ab7f2e4359f Mon Sep 17 00:00:00 2001 From: Master Jumblespeed Date: Sun, 16 Aug 2015 16:10:47 -0400 Subject: [PATCH] rpc: fix small bug with calling toons --- toontown/rpc/ToontownRPCHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/rpc/ToontownRPCHandler.py b/toontown/rpc/ToontownRPCHandler.py index f5252f40..3ee3b72d 100755 --- a/toontown/rpc/ToontownRPCHandler.py +++ b/toontown/rpc/ToontownRPCHandler.py @@ -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