mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
utils bump
also dont use splitlines on csv data, there might be quoted newlines we dont want to split on
This commit is contained in:
@@ -304,7 +304,7 @@ class Spreadsheet():
|
||||
def as_rows(self):
|
||||
if not self._rows:
|
||||
self._rows = list(csv.reader(
|
||||
self._csv_data.strip().splitlines(),
|
||||
StringIO(self._csv_data),
|
||||
quoting=csv.QUOTE_MINIMAL,
|
||||
skipinitialspace=True,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user