1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 04:02:19 +01:00

csv_metadata_quality/check.py: Fix test for False

This commit is contained in:
Alan Orth 2019-08-10 23:52:53 +03:00
parent 3c7a9eb75b
commit 13d5221378
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -294,7 +294,7 @@ def filename_extension(field):
break
if filename_extension_match == False:
if filename_extension_match is False:
print(f'Filename with uncommon extension: {value}')
return field