Fix Organisation model + debug

This commit is contained in:
PCoder 2021-11-29 10:21:26 +05:30
parent 4315b376cb
commit fe32ab1e70

View file

@ -34,7 +34,7 @@ class Command(BaseCommand):
"v2-LanguageLink.csv": "LanguageLink",
"v2-Keywords.csv": "Keyword",
"v2-NamesImport.csv": "NamesImport",
"v2-Organisations-cleaned.csv": "Organization",
"v2-Organisations-cleaned.csv": "Organisation",
"v2-Peaks.csv": "Peak",
"v2-People.csv": "Person",
@ -394,6 +394,7 @@ class Command(BaseCommand):
print(str(dne))
error_row_count += 1
except ValueError as ve:
print('0 = %s and 5 = %s' % (row[0], row[5]))
print(str(ve))
error_row_count += 1
continue