Closed kpcyrd closed 2 years ago
The python script splits by \n and then uses print to write every line. If the README ends with \n the list of all lines has an empty string at the end, which causes the new file to end in \n\n.
\n
print
\n\n
Thanks !
The python script splits by
\n
and then usesprint
to write every line. If the README ends with\n
the list of all lines has an empty string at the end, which causes the new file to end in\n\n
.