diff options
Diffstat (limited to 'poezio/windows/image.py')
-rw-r--r-- | poezio/windows/image.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/poezio/windows/image.py b/poezio/windows/image.py index b721b859..2862d2d9 100644 --- a/poezio/windows/image.py +++ b/poezio/windows/image.py @@ -2,6 +2,8 @@ Defines a window which contains either an image or a border. """ +from __future__ import annotations + import curses from io import BytesIO @@ -9,9 +11,6 @@ try: from PIL import Image HAS_PIL = True except ImportError: - class Image: # type: ignore - class Image: - pass HAS_PIL = False try: |