diff --git a/src/plugins/import/ImportCsv.py b/src/plugins/import/ImportCsv.py index b91893a6a..65e57ee71 100644 --- a/src/plugins/import/ImportCsv.py +++ b/src/plugins/import/ImportCsv.py @@ -330,8 +330,8 @@ class CSVParser(object): try: data = [[r.strip() for r in row] for row in reader] except csv.Error, e: - ErrorDialog(_('format error: file %(fname)s, line %(line)d: %(zero)s')) % { - 'fname' : self.filename, 'line' : reader.line_num, 'zero' : e } + ErrorDialog(_('format error: file %(fname)s, line %(line)d: %(zero)s') % { + 'fname' : self.filename, 'line' : reader.line_num, 'zero' : e }) try: fp.close() except: