This commit is contained in:
Jonas Zeunert
2022-05-07 14:10:07 +02:00
parent e03d0e7aa5
commit c29c46f755

View File

@@ -20,7 +20,7 @@ class LampGroup:
def activateNext(self):
self.lamps[self.currentLamp].activate()
if self.currentLamp == len(self.lamps):
if self.currentLamp == len(self.lamps) - 1:
return
self.currentLamp += 1