Fix usage of enumerate function
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tobias Reisinger 2021-03-05 02:07:57 +01:00
parent 387277ff34
commit e3892b187a

View file

@ -15,8 +15,7 @@ def handle(event, context):
while '' in matrix_split:
matrix_split.remove('')
for i in enumerate(matrix_split):
char = matrix_split[i]
for i, char in enumerate(matrix_split):
if char == '&':
matrix_split[i] = ' '
if char == '\\\\':