2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 06:16:29 +00:00

Match field step is now managed through form

This commit is contained in:
eeintech
2021-05-06 16:05:58 -04:00
parent f79382d96f
commit e31452a6ad
7 changed files with 385 additions and 549 deletions

@ -56,7 +56,7 @@ class FileManager:
raw_data = file.read().decode('utf-8')
# Reset stream position to beginning of file
file.seek(0)
elif ext in ['.xls', '.xlsx']:
elif ext in ['.xls', '.xlsx', '.json', '.yaml', ]:
raw_data = file.read()
# Reset stream position to beginning of file
file.seek(0)