fix feat_type bug

pull/2097/head
YangZhou 3 years ago
parent 59f67db19e
commit 6f1e741f16

@ -93,7 +93,7 @@ def feat_type(filepath):
if isinstance(filepath, BytesIO):
return 'sound'
suffix = filepath.split(":")[0].split('.')[-1].lower()
suffix = filepath.split(":")[-1].split('.')[-1].lower()
if suffix == 'ark':
return 'mat'
elif suffix == 'scp':

Loading…
Cancel
Save