From 03bca9051114a936b584632a72242ca023cbde3e Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 24 Nov 2011 20:24:13 +0100 Subject: [PATCH] Extend patchup for builtin excel dialect --- openslides/utils/csv_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/utils/csv_ext.py b/openslides/utils/csv_ext.py index 30b0bf23e..d350a2040 100644 --- a/openslides/utils/csv_ext.py +++ b/openslides/utils/csv_ext.py @@ -22,7 +22,7 @@ class excel_semikolon(Dialect): def patchup(dialect): if dialect: - if dialect.delimiter == excel_semikolon.delimiter and \ + if dialect.delimiter in [excel_semikolon.delimiter, excel.delimiter] and \ dialect.quotechar == excel_semikolon.quotechar: # walks like a duck and talks like a duck.. must be one dialect.doublequote = True