Conversion blockchain error resolved
This commit is contained in:
parent
d06db439d9
commit
055b986145
|
@ -577,6 +577,7 @@ class Conversion:
|
||||||
scriptconversion["translated_scriptFile_path"] = translated_scripttt
|
scriptconversion["translated_scriptFile_path"] = translated_scripttt
|
||||||
print("blockchain script conversion 5")
|
print("blockchain script conversion 5")
|
||||||
|
|
||||||
|
if obj.converted_audit_id:
|
||||||
print("audit blockchain")
|
print("audit blockchain")
|
||||||
print("blockchain script conversion 5.1")
|
print("blockchain script conversion 5.1")
|
||||||
# blockchain upload of csv-json data
|
# blockchain upload of csv-json data
|
||||||
|
|
|
@ -632,12 +632,13 @@ def ScriptTranslation(*args, **kwargs):
|
||||||
audit.audit()
|
audit.audit()
|
||||||
status.status = "SUCCESS"
|
status.status = "SUCCESS"
|
||||||
status.save()
|
status.save()
|
||||||
|
print("----> Script id from conv-aud is here=", audit_id)
|
||||||
|
translation_instance.converted_audit_id = audit_id
|
||||||
|
translation_instance.save()
|
||||||
except:
|
except:
|
||||||
status.status = "FAILURE"
|
status.status = "FAILURE"
|
||||||
status.save()
|
status.save()
|
||||||
|
|
||||||
print("----> Script id from conv-aud is here=", audit_id)
|
|
||||||
translation_instance.converted_audit_id = audit_id
|
|
||||||
translation_instance.save()
|
|
||||||
sys.stdout = original_stdout
|
sys.stdout = original_stdout
|
||||||
return saveFile
|
return saveFile
|
Loading…
Reference in New Issue