This commit is contained in:
Casper 2019-04-06 21:18:40 +02:00
parent 63775b7887
commit 64c22b3f08
No known key found for this signature in database
GPG Key ID: 289CA03790535054

View File

@ -40,7 +40,7 @@ def probabilities():
context = Context()
else:
phone_data = request.get_json(force=True)
logger.debug("phone_data:\n%s", json.dumps(phone_data, indent=2))
logger.debug("phone_data:\n%s", json.dumps({(k, v) for k, v in phone_data.items() if not k == "image"}, indent=2))
context = Context(**phone_data["data"])
#logger.debug("Context: %s", context)