bugfix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user