fix: test

This commit is contained in:
Saqib Ansari
2021-04-13 20:30:40 +05:30
parent 103ce8bbb7
commit ba563ca232

View File

@@ -533,6 +533,8 @@ def santize_einvoice_fields(einvoice):
elif key in int_fields:
einvoice[key] = cint(value)
return einvoice
def safe_json_load(json_string):
JSONDecodeError = ValueError if six.PY2 else json.JSONDecodeError
try: