From 1352e997742f23586fa05bedbb0d88a81ad1d46e Mon Sep 17 00:00:00 2001 From: jayofelony Date: Fri, 22 Mar 2024 18:34:49 +0100 Subject: [PATCH] Fix wrong imports Signed-off-by: jayofelony --- pwnagotchi/ui/hw/libs/waveshare/v2in9_v2/epd2in9V2.py | 2 +- pwnagotchi/ui/hw/libs/waveshare/v2in9d/epd2in9d.py | 2 -- pwnagotchi/ui/hw/libs/waveshare/v4in26/epd4in26.py | 2 +- pwnagotchi/ui/hw/libs/waveshare/v7in5_HD/epd7in5_HD.py | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pwnagotchi/ui/hw/libs/waveshare/v2in9_v2/epd2in9V2.py b/pwnagotchi/ui/hw/libs/waveshare/v2in9_v2/epd2in9V2.py index b8a7a6a8..ce8bd80f 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v2in9_v2/epd2in9V2.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v2in9_v2/epd2in9V2.py @@ -28,7 +28,7 @@ # import logging -from . import epdconfig +from .. import epdconfig # Display resolution EPD_WIDTH = 128 diff --git a/pwnagotchi/ui/hw/libs/waveshare/v2in9d/epd2in9d.py b/pwnagotchi/ui/hw/libs/waveshare/v2in9d/epd2in9d.py index 239a528c..936e7ad8 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v2in9d/epd2in9d.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v2in9d/epd2in9d.py @@ -33,8 +33,6 @@ from distutils.command.build_scripts import build_scripts import logging from .. import epdconfig -from PIL import Image -import RPi.GPIO as GPIO # Display resolution EPD_WIDTH = 128 diff --git a/pwnagotchi/ui/hw/libs/waveshare/v4in26/epd4in26.py b/pwnagotchi/ui/hw/libs/waveshare/v4in26/epd4in26.py index 4a698567..8da379bd 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v4in26/epd4in26.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v4in26/epd4in26.py @@ -29,7 +29,7 @@ import logging -from . import epdconfig +from .. import epdconfig # Display resolution EPD_WIDTH = 800 diff --git a/pwnagotchi/ui/hw/libs/waveshare/v7in5_HD/epd7in5_HD.py b/pwnagotchi/ui/hw/libs/waveshare/v7in5_HD/epd7in5_HD.py index 4a698567..8da379bd 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v7in5_HD/epd7in5_HD.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v7in5_HD/epd7in5_HD.py @@ -29,7 +29,7 @@ import logging -from . import epdconfig +from .. import epdconfig # Display resolution EPD_WIDTH = 800