mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26446 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8d94611a02
commit
74b225d428
@ -140,7 +140,7 @@ if options.column_sep == 't':
|
||||
options.column_sep = "\t"
|
||||
|
||||
# when no special column separator is given, try to detect it:
|
||||
if options.column_sep or dialect :
|
||||
if options.column_sep and dialect :
|
||||
reader = csv.reader(open(infile, "rb"), dialect = dialect, delimiter = options.column_sep)
|
||||
else:
|
||||
guesser = csv.Sniffer()
|
||||
|
Loading…
Reference in New Issue
Block a user