summaryrefslogtreecommitdiff
blob: 35f2e26aaca52d059848c4d3ed5ca4c8b0627a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 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):