diff options
| author | Georg Brandl <georg@python.org> | 2016-02-26 10:08:48 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2016-02-26 10:08:48 +0100 |
| commit | e48b387113e036192110c91e4e347cd21828a7cc (patch) | |
| tree | 684f582c3d256f6a7c958a76b9b9c20029ee1aeb /pygments/formatters | |
| parent | c58a8a0879ab2fb2bef47d632c360c34c52a62d1 (diff) | |
| download | pygments-e48b387113e036192110c91e4e347cd21828a7cc.tar.gz | |
Fixed Python 3 regression in image formatter (closes #1215)
Diffstat (limited to 'pygments/formatters')
| -rw-r--r-- | pygments/formatters/img.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py index c7b8e819..cc95ce24 100644 --- a/pygments/formatters/img.py +++ b/pygments/formatters/img.py @@ -83,7 +83,7 @@ class FontManager(object): if proc.returncode == 0: lines = stdout.splitlines() for line in lines: - if line.startswith('Fontconfig warning:'): + if line.startswith(b'Fontconfig warning:'): continue path = line.decode().strip().strip(':') if path: |
