Skip to content

Commit 992375d

Browse files
committed
minor changes
1 parent e601de6 commit 992375d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

publish.sh

100644100755
File mode changed.

pyhacks/Exporter.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ def writeCSV(self, item):
4848
with open(self.fileName, mode='a') as csv_file:
4949
csv_writer = csv.writer(csv_file, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL)
5050
if csv_file.tell() == 0:
51+
# TODO: add quotes to keys
5152
csv_writer.writerow(item.keys())
52-
data = [item.get('counter')]
53+
data = []
5354
for key in item.keys():
54-
if key == 'counter':
55-
continue
5655
data.append(item.get(key))
5756
csv_writer.writerow(data)
5857

0 commit comments

Comments
 (0)