You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pygments/files/2.0.2-bytes-decode.patch

17 lines
548 B

pygments/formatters/img.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
index db5bee3..12d53cd 100644
--- a/pygments/formatters/img.py
+++ b/pygments/formatters/img.py
@@ -84,7 +84,7 @@ class FontManager(object):
if not exit:
lines = out.splitlines()
if lines:
- path = lines[0].strip().strip(':')
+ path = lines[0].decode().strip().strip(':')
return path
def _create_nix(self):