From 0ce6627756bddc810662f29aba02b3a54662f7b9 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 23 Jul 2012 08:55:05 +0200 Subject: [PATCH] Fixed csv import error. --- openslides/application/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/application/views.py b/openslides/application/views.py index dc8db38f9..8a7990c66 100644 --- a/openslides/application/views.py +++ b/openslides/application/views.py @@ -582,7 +582,7 @@ def application_import(request): applications_modified = 0 with transaction.commit_on_success(): dialect = csv.Sniffer().sniff(request.FILES['csvfile'].readline()) - dialect = utils.csv_ext.patchup(dialect) + dialect = csv_ext.patchup(dialect) request.FILES['csvfile'].seek(0) for (lno, line) in enumerate(csv.reader(request.FILES['csvfile'], dialect=dialect)): # basic input verification