Skip to content

Commit

Permalink
More quote fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Feb 23, 2024
1 parent 45e90de commit c2cb3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions segno/writers.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,8 @@ def write_xpm(matrix, matrix_size, out, scale=1, border=None, dark='#000',
f'" c {bg_color}",\n'
f'"X c {stroke_color}",\n')
for i, row in enumerate(row_iter):
write(''.join(chain(['"'], (' ' if not b else 'X' for b in row),
[f'"{(',' if i < height - 1 else '')}\n'])))
write(''.join(chain(['"'], (" " if not b else "X" for b in row),
[f'"{("," if i < height - 1 else "")}\n'])))
write('};\n')


Expand Down

0 comments on commit c2cb3af

Please sign in to comment.