Skip to content

Commit dae2caf

Browse files
updates for pylint
1 parent b8494b4 commit dae2caf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Disco_Tie/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def larsen(wait):
147147
color_dark = (int(user_color[0]/8), int(user_color[1]/8),
148148
int(user_color[2]/8))
149149
color_med = (int(user_color[0]/2), int(user_color[1]/2),
150-
int(user_color[2]/2))
150+
int(user_color[2]/2))
151151

152152
larsen_set(pos - 2, color_dark)
153153
larsen_set(pos - 1, color_med)
@@ -183,7 +183,7 @@ def solid():
183183

184184
def map_value(value, in_min, in_max, out_min, out_max):
185185
return out_min + (out_max - out_min) * ((value - in_min)
186-
/ (in_max - in_min))
186+
/ (in_max - in_min))
187187

188188
def change_speed(val):
189189
global speed

0 commit comments

Comments
 (0)