Skip to content

Commit

Permalink
Changed quotes within f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Feb 23, 2024
1 parent 4755262 commit 45e90de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segno/writers.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def as_png_data_uri(matrix, matrix_size, scale=1, border=None, compresslevel=9,
"""
buff = io.BytesIO()
write_png(matrix, matrix_size, buff, scale=scale, border=border, compresslevel=compresslevel, **kw)
return f'data:image/png;base64,{base64.b64encode(buff.getvalue()).decode('ascii')}'
return f'data:image/png;base64,{base64.b64encode(buff.getvalue()).decode("ascii")}'


@colorful(dark='#000', light='#fff')
Expand Down

0 comments on commit 45e90de

Please sign in to comment.