|
@@ -27,7 +27,7 @@ def csv_format(data):
|
|
value = '{}'.format(value)
|
|
value = '{}'.format(value)
|
|
|
|
|
|
|
|
|
|
- if ',' in value:
|
|
+ if ',' in value or '\n' in value:
|
|
csv.append('"{}"'.format(value))
|
|
csv.append('"{}"'.format(value))
|
|
else:
|
|
else:
|
|
csv.append('{}'.format(value))
|
|
csv.append('{}'.format(value))
|