Skip to content

Commit

Permalink
removed useless parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sleiner committed Dec 19, 2016
1 parent e86393d commit d765044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/lightshows/christmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def whole_blendover(self, num_cycles: int = 1):
blend_whole_strip_to_color(self.strip, (30, 255, 0), fadetime_sec=blendtime_sec())
self.sleep(pause_sec())

def static_red_green(self, strip):
def static_red_green(self):
red_green_segment = [(255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10),
(255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10),
(255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10), (255, 20, 10),
Expand All @@ -101,7 +101,7 @@ def static_red_green(self, strip):
def merry_go_round(self, num_cycles: int = 1):
pause_sec = lambda: 0.5 / self.velocity

self.static_red_green(self.strip)
self.static_red_green()
self.strip.show()
for _ in range(num_cycles * self.strip.num_leds):
self.strip.rotate(1)
Expand Down

0 comments on commit d765044

Please sign in to comment.