Add only one interrogation mark in settings menu

This commit is contained in:
Yohann D'ANELLO 2020-11-19 02:47:36 +01:00
parent a8ea328460
commit d92a5e1629
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ class SettingsMenuDisplay(MenuDisplay):
@property @property
def values(self) -> List[str]: def values(self) -> List[str]:
return [a[1][1] + (" : " return [a[1][1] + (" : "
+ ("?" if self.menu.waiting_for_key else a[1][0]) + ("?" if self.menu.waiting_for_key
and a == self.menu.validate() else a[1][0])
if a[1][0] else "") for a in self.menu.values] if a[1][0] else "") for a in self.menu.values]