Extend patchup for builtin excel dialect

This commit is contained in:
rene 2011-11-24 20:24:13 +01:00
parent 851240df1c
commit 03bca90511

View File

@ -22,7 +22,7 @@ class excel_semikolon(Dialect):
def patchup(dialect): def patchup(dialect):
if 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: dialect.quotechar == excel_semikolon.quotechar:
# walks like a duck and talks like a duck.. must be one # walks like a duck and talks like a duck.. must be one
dialect.doublequote = True dialect.doublequote = True