From ec675e3e079d6a9a3c3a5947411ede5e83050140 Mon Sep 17 00:00:00 2001 From: waldek Date: Thu, 21 Oct 2021 14:51:57 +0200 Subject: [PATCH] level argument is now used to isolate one level --- standalone_tui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/standalone_tui.py b/standalone_tui.py index 92d59c3..a6f841c 100755 --- a/standalone_tui.py +++ b/standalone_tui.py @@ -176,7 +176,8 @@ def level_logic(level, difficulty): if level is None and difficulty is None: level = "lpic1_part1" elif level is not None: - level = LEVELS[0:LEVELS.index(DIFFICULTY[level]) + 1] + # level = LEVELS[0:LEVELS.index(DIFFICULTY[level]) + 1] + level = (level) elif difficulty is not None: level = LEVELS[0:LEVELS.index(DIFFICULTY[difficulty]) + 1] return level