bugfix
This commit is contained in:
@@ -20,7 +20,7 @@ class LampGroup:
|
|||||||
def activateNext(self):
|
def activateNext(self):
|
||||||
self.lamps[self.currentLamp].activate()
|
self.lamps[self.currentLamp].activate()
|
||||||
|
|
||||||
if self.currentLamp == len(self.lamps):
|
if self.currentLamp == len(self.lamps) - 1:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.currentLamp += 1
|
self.currentLamp += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user