Use get_quotechar when guessing CSV file format

This commit is contained in:
Nicolas Évrard committed 2016-05-27 18:24:26 +02:00
1 parent 2b1d256bdd
commit 7b28d779c6
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ class WinImport(WinCSV):
try:
data = csv.reader(
open(fname, 'rb'),
quotechar=self.get_delimiter(),
quotechar=self.get_quotechar(),
delimiter=self.get_delimiter())
except IOError:
common.warning(_('Error opening CSV file'), _('Error'))