bytes decoding added

This commit is contained in:
pseusys
2023-02-26 12:50:04 +01:00
parent cdb2dabb46
commit 816d50aac7

View File

@@ -150,6 +150,6 @@ class GitHubManager:
else:
DBM.i("Inlining chart...")
chart_path = f"data:image/png;base64,{b64encode(data)}"
chart_path = f"data:image/png;base64,{b64encode(data).decode('utf-8')}"
return f"**{FM.t('Timeline')}**\n\n![Lines of Code chart]({chart_path})\n\n"