removed parathesis bug

This commit is contained in:
Justin 2023-08-17 16:05:52 +08:00 committed by GitHub
parent a4060214ea
commit c7c3e5b58c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ class StockTicker():
(r, g, b) = pixels[x, y] (r, g, b) = pixels[x, y]
self.matrix.SetPixel(x + offset_x, y + offset_y, r*self.brightness, g*self.brightness, b*self.brightness) self.matrix.SetPixel(x + offset_x, y + offset_y, r*self.brightness, g*self.brightness, b*self.brightness)
def scrollImage(self, image, offset_x = 0, offset_y = 0, frame_skip = 10, gif = False, pause_frames = 0, place = False)): def scrollImage(self, image, offset_x = 0, offset_y = 0, frame_skip = 10, gif = False, pause_frames = 0, place = False):
img_width, img_height = image.size img_width, img_height = image.size
kill = False kill = False
if place: if place: