1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

bug fix in HRL HER memory + some small improvements

This commit is contained in:
itaicaspi-intel
2018-08-29 14:36:18 +03:00
parent 1aa2ab0590
commit fd2f4b0852
3 changed files with 5 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ class SingleLevelSelection(LevelSelection):
if self.selected_level is None:
logger.screen.error("No level has been selected. Please select a level using the -lvl command line flag, "
"or change the level in the preset. \nThe available levels are: \n{}"
.format(', '.join(self.levels.keys())), crash=True)
.format(', '.join(sorted(self.levels.keys()))), crash=True)
if self.selected_level not in self.levels.keys():
logger.screen.error("The selected level ({}) is not part of the available levels ({})"
.format(self.selected_level, ', '.join(self.levels.keys())), crash=True)