mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Fix incorrect use of assignment operator (=) instead of comparison operator (==) in draw method of ui/components.py
This commit is contained in:
@ -19,7 +19,7 @@ class Bitmap(Widget):
|
||||
self.image = Image.open(path)
|
||||
|
||||
def draw(self, canvas, drawer):
|
||||
if self.color = 0xFF:
|
||||
if self.color == 0xFF:
|
||||
self.image = ImageOps.invert(self.image)
|
||||
canvas.paste(self.image, self.xy)
|
||||
|
||||
|
Reference in New Issue
Block a user