mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Tweak to #493
This commit is contained in:
parent
2c7c0ce29d
commit
814a0e7344
@ -168,7 +168,6 @@ class CSVDataField(forms.CharField):
|
|||||||
self.help_text = 'Enter one line per record in CSV format.'
|
self.help_text = 'Enter one line per record in CSV format.'
|
||||||
|
|
||||||
def utf_8_encoder(self, unicode_csv_data):
|
def utf_8_encoder(self, unicode_csv_data):
|
||||||
# convert csv,reader to utf-8e
|
|
||||||
for line in unicode_csv_data:
|
for line in unicode_csv_data:
|
||||||
yield line.encode('utf-8')
|
yield line.encode('utf-8')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user