From 2abe2a8822d29dc0d89c74b89683989dbc70a8bd Mon Sep 17 00:00:00 2001 From: hancush Date: Tue, 26 Oct 2021 10:00:52 -0500 Subject: [PATCH] Fix syntax error --- payroll/management/commands/import_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payroll/management/commands/import_data.py b/payroll/management/commands/import_data.py index d4a6a773..5b70233f 100644 --- a/payroll/management/commands/import_data.py +++ b/payroll/management/commands/import_data.py @@ -155,7 +155,7 @@ def pre_import(self, s_file): self.prompt('Found {0} salaries for unit {1}.\n{2}\nDo you wish to delete? '.format(salaries.count(), unit.name, salaries)) summary = salaries.delete() - self.stdout.write('Salary deletion summary for unit {0}: {1}'.format(unit.name summary)) + self.stdout.write('Salary deletion summary for unit {0}: {1}'.format(unit.name, summary)) def upload(self): upload = Upload.objects.create()