From e3892b187ad662d321e3363a6f1c053695eb3ec6 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Fri, 5 Mar 2021 02:07:57 +0100 Subject: [PATCH] Fix usage of enumerate function --- src/handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/handler.py b/src/handler.py index 8a64f13..d4b1674 100644 --- a/src/handler.py +++ b/src/handler.py @@ -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 == '\\\\':