Commit 5969f5c8 authored by mail-related applications's avatar mail-related applications
Browse files

forcing quotes on csv format

parent d3154792
......@@ -141,7 +141,7 @@ class Sifter:
], stderr=devnull
).decode('utf-8').split('\n')[:-1]
allFiles = csv.DictReader(results, delimiter=',', quotechar='"', dialect=csv.excel_tab)
allFiles = csv.DictReader(results, delimiter=',', quotechar='"', dialect=csv.QUOTE_ALL)
for item in allFiles:
if item['id'] not in self.transfer_files.keys():
if item['id'] not in self.private_files.keys():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment