diff options
Diffstat (limited to 'libmat2/images.py')
| -rw-r--r-- | libmat2/images.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmat2/images.py b/libmat2/images.py index 311186d..f9171e5 100644 --- a/libmat2/images.py +++ b/libmat2/images.py | |||
| @@ -5,6 +5,7 @@ import os | |||
| 5 | import shutil | 5 | import shutil |
| 6 | import tempfile | 6 | import tempfile |
| 7 | import re | 7 | import re |
| 8 | from typing import Set | ||
| 8 | 9 | ||
| 9 | import cairo | 10 | import cairo |
| 10 | 11 | ||
| @@ -14,8 +15,12 @@ from gi.repository import GdkPixbuf | |||
| 14 | 15 | ||
| 15 | from . import abstract | 16 | from . import abstract |
| 16 | 17 | ||
| 18 | # Make pyflakes happy | ||
| 19 | assert Set | ||
| 17 | 20 | ||
| 18 | class _ImageParser(abstract.AbstractParser): | 21 | class _ImageParser(abstract.AbstractParser): |
| 22 | meta_whitelist = set() # type: Set[str] | ||
| 23 | |||
| 19 | @staticmethod | 24 | @staticmethod |
| 20 | def __handle_problematic_filename(filename: str, callback) -> str: | 25 | def __handle_problematic_filename(filename: str, callback) -> str: |
| 21 | """ This method takes a filename with a problematic name, | 26 | """ This method takes a filename with a problematic name, |
