WIP: cálculo de impacto ambiental #59

Draft
pedro wants to merge 91 commits from feature/f31-device-enviromental-impact into main
Showing only changes of commit bf7975bc24 - Show all commits

View file

@ -80,6 +80,7 @@ def save_proof(signature, ev_uuid, result, proof_type, user):
if result['Status'] == STATUS_CODE.get("Success"): if result['Status'] == STATUS_CODE.get("Success"):
timestamp = result.get('Data', {}).get('data', {}).get('timestamp') timestamp = result.get('Data', {}).get('data', {}).get('timestamp')
logger.error("timestamp: %s", timestamp)
if not timestamp: if not timestamp:
return return