| Index: abp/filters/parser.py | 
| =================================================================== | 
| --- a/abp/filters/parser.py | 
| +++ b/abp/filters/parser.py | 
| @@ -271,16 +271,19 @@ | 
| namedtuple | 
| Parsed line (see `_line_type`). | 
|  | 
| Raises | 
| ------ | 
| ParseError | 
| ParseError: If the line can't be parsed. | 
| """ | 
| +    if isinstance(line_text, type(b'')): | 
| +        line_text = line_text.decode('utf-8') | 
| + | 
| content = line_text.strip() | 
|  | 
| if content == '': | 
| line = EmptyLine() | 
| elif content.startswith('!'): | 
| line = _parse_comment(content) | 
| elif content.startswith('%') and content.endswith('%'): | 
| line = _parse_instruction(content) | 
|  |