Skip to content

Commit dc85286

Browse files
committed
sudenlint
1 parent 466126d commit dc85286

File tree

1 file changed

+1
-3
lines changed
  • 3D_Printed_LED_Microphone_Flag

1 file changed

+1
-3
lines changed

3D_Printed_LED_Microphone_Flag/code.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ def fscale(originalmin, originalmax, newbegin, newend, inputvalue, curve):
120120

121121
def drawLine(fromhere, to):
122122
if fromhere > to:
123-
fromheretemp = fromhere
124-
fromhere = to
125-
to = fromheretemp
123+
to, fromhere = fromhere, to
126124

127125
for index in range(fromhere, to):
128126
strip[index] = (0, 0, 0)

0 commit comments

Comments
 (0)