mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 00:20:43 -04:00
Use keyword argument for explicitness
This commit is contained in:
@@ -280,7 +280,7 @@ class Spreadsheet():
|
||||
extension = cls.get_extension(filename)
|
||||
|
||||
if extension == 'csv':
|
||||
return cls(Spreadsheet.normalise_newlines(file_content), filename=filename)
|
||||
return cls(csv_data=Spreadsheet.normalise_newlines(file_content), filename=filename)
|
||||
|
||||
if extension == 'tsv':
|
||||
file_content = StringIO(
|
||||
|
||||
Reference in New Issue
Block a user