Fix usage of enumerate function
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
387277ff34
commit
e3892b187a
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ def handle(event, context):
|
||||||
while '' in matrix_split:
|
while '' in matrix_split:
|
||||||
matrix_split.remove('')
|
matrix_split.remove('')
|
||||||
|
|
||||||
for i in enumerate(matrix_split):
|
for i, char in enumerate(matrix_split):
|
||||||
char = matrix_split[i]
|
|
||||||
if char == '&':
|
if char == '&':
|
||||||
matrix_split[i] = ' '
|
matrix_split[i] = ' '
|
||||||
if char == '\\\\':
|
if char == '\\\\':
|
||||||
|
|
Loading…
Reference in a new issue