level argument is now used to isolate one level
This commit is contained in:
parent
199ddd82dc
commit
ec675e3e07
|
@ -176,7 +176,8 @@ def level_logic(level, difficulty):
|
||||||
if level is None and difficulty is None:
|
if level is None and difficulty is None:
|
||||||
level = "lpic1_part1"
|
level = "lpic1_part1"
|
||||||
elif level is not None:
|
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:
|
elif difficulty is not None:
|
||||||
level = LEVELS[0:LEVELS.index(DIFFICULTY[difficulty]) + 1]
|
level = LEVELS[0:LEVELS.index(DIFFICULTY[difficulty]) + 1]
|
||||||
return level
|
return level
|
||||||
|
|
Loading…
Reference in New Issue