Extend patchup for builtin excel dialect
This commit is contained in:
parent
851240df1c
commit
03bca90511
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user