From 8d1ca4eba1f764106bc3fb5326f6d233bb633efc Mon Sep 17 00:00:00 2001 From: alfrix Date: Thu, 3 Nov 2022 23:29:11 -0300 Subject: [PATCH] fix E741 --- ks_includes/widgets/keyboard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ks_includes/widgets/keyboard.py b/ks_includes/widgets/keyboard.py index 9fb835b1..1e5365f7 100644 --- a/ks_includes/widgets/keyboard.py +++ b/ks_includes/widgets/keyboard.py @@ -93,9 +93,9 @@ class Keyboard(Gtk.Box): for language in self.langs: if os.getenv('LANG').lower().startswith(language): return language - for l in self.langs: - if language.startswith(l): - return l + for _ in self.langs: + if language.startswith(_): + return _ return "en" def set_pallet(self, p):