diff --git a/cope2n-api/fwd_api/api/accuracy_view.py b/cope2n-api/fwd_api/api/accuracy_view.py index 6809aaf..149c9f2 100755 --- a/cope2n-api/fwd_api/api/accuracy_view.py +++ b/cope2n-api/fwd_api/api/accuracy_view.py @@ -984,6 +984,8 @@ class AccuracyViewSet(viewsets.ViewSet): } for k, v in file_result.items(): if k in sample_result.keys(): + if isinstance(v, str) and v == '': + v = None if k == "purchase_date" and v is not None: v = v.split("") if not isinstance(sample_result[k], list):