From c4e9adc88b41c2188ebd2e7df0813ea29a3bcd5e Mon Sep 17 00:00:00 2001 From: Maksym Kurets Date: Wed, 4 Nov 2026 17:39:53 +0100 Subject: [PATCH] Fix choices filter --- u8/program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u8/program.py b/u8/program.py index 1c446c7..2747c81 100644 --- a/u8/program.py +++ b/u8/program.py @@ -69,7 +69,7 @@ def main(): return stromlines = lines[:prvi] - vibir = [l for l in lines[prvi + 1 :] if l != ""] + vibir = [l.strip() for l in lines[prvi + 1 :] if l.strip() != ""] if not stromlines: print("Chybna databaza")