blabla
This commit is contained in:
@@ -36,7 +36,8 @@ class LampGroup:
|
||||
self.currentLampPtr -= 1
|
||||
|
||||
def cycle(self):
|
||||
self.currentLamp.deactivate()
|
||||
if self.currentLamp:
|
||||
self.currentLamp.deactivate()
|
||||
self.currentLamp = next(self.lamp_cycle)
|
||||
self.currentLamp.activate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user