mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +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"
|
options.column_sep = "\t"
|
||||||
|
|
||||||
# when no special column separator is given, try to detect it:
|
# 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)
|
reader = csv.reader(open(infile, "rb"), dialect = dialect, delimiter = options.column_sep)
|
||||||
else:
|
else:
|
||||||
guesser = csv.Sniffer()
|
guesser = csv.Sniffer()
|
||||||
|
Loading…
Reference in New Issue
Block a user