diff options
| -rw-r--r-- | ishtar_common/data_importer.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/ishtar_common/data_importer.py b/ishtar_common/data_importer.py index 1a77c2546..62d0d184d 100644 --- a/ishtar_common/data_importer.py +++ b/ishtar_common/data_importer.py @@ -1291,8 +1291,9 @@ class Importer(object):          return data      def _format_csv_line(self, values): -        return u'"' + u'","'.join([v and unicode(v).replace('"', '""') or u'-' -                                  for v in values]) + u'"' +        return u'"' + u'","'.join( +            [(v and unicode(v).replace('"', '""')) or u'-' +             for v in values]) + u'"'      def _get_csv(self, rows, header=[]):          if not rows: | 
