We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f96c869 commit e44dc42Copy full SHA for e44dc42
coverage_badge/__main__.py
@@ -41,7 +41,7 @@ def get_badge(total):
41
string.
42
"""
43
template_path = os.path.join('templates', 'flat.svg')
44
- template = pkg_resources.resource_string(__name__, template_path)
+ template = pkg_resources.resource_string(__name__, template_path).decode('utf8')
45
return template.replace('{{ total }}', total)
46
47
0 commit comments