SyntaxFix
Write A Post
Hire A Developer
Questions
I just tested your snippet, and their is no double spacing line here. The end-of-line are \r\n, so what i would check in your case is:
\r\n
(Note that even by putting a value with \n, DictWriter automaticly quote the value.)