From 20e774ca33e6510acd778fcc531301a4f51bd3f5 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 8 May 2019 10:17:20 +0100 Subject: [PATCH] Use keyword argument for explicitness --- app/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils.py b/app/utils.py index c129697cb..6bf6a6679 100644 --- a/app/utils.py +++ b/app/utils.py @@ -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(