"modify console_cmd to console_param in cocos-console-test.py."

This commit is contained in:
andyque 2014-03-20 10:32:04 +08:00
parent 4bd7a60ca9
commit 7ea6185bbb
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if os.environ.has_key('payload'):
payload_str = os.environ['payload'] payload_str = os.environ['payload']
payload = json.loads(payload_str) payload = json.loads(payload_str)
if payload.has_key('console'): if payload.has_key('console'):
console_cmd = payload['console'] console_param = payload['console']
print 'console_param:',console_param print 'console_param:',console_param
console_param_arr = console_param.split(' ') console_param_arr = console_param.split(' ')