Fix bug in JSONTokenApi plugin

This commit is contained in:
grz0 2015-08-22 14:09:58 +02:00
parent b7684e0914
commit e1546a1ec3
1 changed files with 1 additions and 1 deletions

View File

@ -79,4 +79,4 @@ class JSONTokenApi(BaseTokenAPI):
# should go
def process_result(self, resp):
return (resp.json['host'], resp.json['port'])
return (str(resp.json()['host']), str(resp.json()['port']))