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:
InvenTree
common
order
@ -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)
|
||||
|
Reference in New Issue
Block a user