Skip to content

Commit

Permalink
Update jwt_tool.py
Browse files Browse the repository at this point in the history
following comments on ticarpi#21 , user @fredsibcald  says that fix the problem
  • Loading branch information
frani authored Aug 22, 2020
1 parent 09fb9e5 commit b2964ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def castInput(newInput):
return newInput
else:
try:
newInput = json.loads(newInput)
newInput = json.dumps(newInput)
except ValueError:
try:
newInput = json.loads(newInput.replace("'", "\""))
Expand Down

0 comments on commit b2964ab

Please sign in to comment.