Commit 2e1075ea authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

str(string) is string

parent 98fe39bf
......@@ -225,8 +225,7 @@ class CsvWriter:
def writerow(self, row):
"""write one row"""
self.__writer.writerow(list(
cell if isinstance(cell, str) else str(cell) for cell in row))
self.__writer.writerow(list(str(cell) for cell in row))
def __del__(self):
"""clean up"""
......
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