Commits

Anonymous committed dfca9db

Fix ", they should be \"

  • Participants
  • Parent commits 6e88334

Comments (0)

Files changed (1)

         raise e
     json_str = resp.read()
     # Replace common and incorrectly encoded characters
-    json_str = json_str.replace(''', '\\u0027')
+    json_str = json_str.replace(''', '\\u0027').replace('"', '\\"')
     # Turn strict off as control characters are not escapted
     return json.loads(json_str, strict=False)