Cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26446 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-09-18 17:03:06 +00:00
parent 8d94611a02
commit 74b225d428

View File

@ -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()