fix: an issue that output is invalid CSV

This commit is contained in:
falsycat 2024-08-24 17:31:35 +09:00
parent 03bb7edac3
commit 868894c829

View File

@ -43,4 +43,4 @@ class Context:
def sql(self, cmd: str):
self.dbcur.execute(cmd)
for row in self.dbcur:
print(*row, file=self.ostream)
print(*row, file=self.ostream, sep=",")