1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge branch 'develop' into feature

This commit is contained in:
jeremystretch
2023-03-13 11:58:37 -04:00
63 changed files with 502 additions and 212 deletions

View File

@@ -183,7 +183,7 @@ class ImportForm(BootstrapMixin, forms.Form):
if 'data_file' in self.files:
self.data_field = 'data_file'
file = self.files.get('data_file')
data = file.read().decode('utf-8')
data = file.read().decode('utf-8-sig')
else:
data = self.cleaned_data['data']