From b75eee7117bf0d86887dc0d7451af3e89b341293 Mon Sep 17 00:00:00 2001 From: Ruslan Ignatov Date: Wed, 7 Apr 2021 07:02:44 +0300 Subject: [PATCH] Quick fix --- EndSceen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EndSceen.py b/EndSceen.py index 2dbc104..c809788 100644 --- a/EndSceen.py +++ b/EndSceen.py @@ -88,11 +88,11 @@ class EndSceen(): def shiftLeft(self, arr): - return bytearray([lambda x: x if x == 10 else x-32 for x in arr]) + return bytearray([x if x == 10 else x-32 for x in arr]) def shiftRight(self, arr): - return bytearray([lambda x: x if x == 10 else x+32 for x in arr]) + return bytearray([x if x == 10 else x+32 for x in arr]) def renderText(self, text, font, color, center, backColor=None):