Skip to content

Commit df910b3

Browse files
Remove leading/trailing spaces after html.unescape in step 3 (#86)
1 parent cdb6bd6 commit df910b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03-Export-Tags-Authors-Stories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def write_csv(data, filename, columns):
1414
for row in data:
1515
r = []
1616
for s in row:
17-
r.append("" if s is None else html.unescape(str(s)))
17+
r.append("" if s is None else html.unescape(str(s)).strip())
1818
myFile.writerows([r])
1919
log.info(f"...Data written to {filename}")
2020
else:

0 commit comments

Comments
 (0)