Fix for multi-byte char problem in PR #1556...

... caught by @nsoranzo of course.
This commit is contained in:
John Chilton
2016-02-08 13:48:43 +00:00
parent 499357e508
commit 448aee9f00
+1 -1
View File
@@ -124,7 +124,7 @@ def add_file( dataset, registry, json_file, output_path ):
# Is dataset content multi-byte?
elif dataset.is_multi_byte:
data_type = 'multi-byte char'
ext = sniff.guess_ext( dataset.path, is_multi_byte=True )
ext = sniff.guess_ext( dataset.path, registry.sniff_order, is_multi_byte=True )
# Is dataset content supported sniffable binary?
else:
# FIXME: This ignores the declared sniff order in datatype_conf.xml