blaaa
This commit is contained in:
@@ -41,7 +41,7 @@ class LampGroup:
|
||||
self.currentLampPtr -= 1
|
||||
|
||||
def toggleRandom(self, sleepTime):
|
||||
count = random.randint(1,8)
|
||||
count = random.randint(1,3)
|
||||
random_lamps = random.choices(self.lamps, count)
|
||||
for lamp in random_lamps:
|
||||
lamp.activate()
|
||||
|
||||
Reference in New Issue
Block a user