Fix bug in JSONTokenApi plugin
This commit is contained in:
parent
b7684e0914
commit
e1546a1ec3
|
|
@ -79,4 +79,4 @@ class JSONTokenApi(BaseTokenAPI):
|
||||||
# should go
|
# should go
|
||||||
|
|
||||||
def process_result(self, resp):
|
def process_result(self, resp):
|
||||||
return (resp.json['host'], resp.json['port'])
|
return (str(resp.json()['host']), str(resp.json()['port']))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue