diff options
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r-- | pygments/lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py index d93cb284..5b3ad358 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -149,7 +149,7 @@ class Lexer(object): """ if not isinstance(text, text_type): if self.encoding == 'guess': - text = guess_decode(text) + text, _ = guess_decode(text) elif self.encoding == 'chardet': try: import chardet |