Options: fix verify_keys breaking options containing lists of dicts

This commit is contained in:
Fabian Dill
2022-01-15 21:20:26 +01:00
parent 62391d3074
commit 0dc714f947
2 changed files with 3 additions and 4 deletions

View File

@@ -191,8 +191,6 @@ def main(args=None, callback=ERmain):
if len(player_settings.values()) > 1:
important[option] = {player: value for player, value in player_settings.items() if
player <= args.yaml_output}
elif len(player_settings.values()) > 0:
important[option] = player_settings[1]
else:
logging.debug(f"No player settings defined for option '{option}'")