Skip to content

Commit

Permalink
Fix keep_aspects (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisoro authored May 16, 2024
1 parent c425732 commit aed0c21
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/config/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,21 @@ def _load_params(self):
self._parsers["custom"].read(p)

self._advanced_options = AdvancedOptionsModel(
run_scripts=self._select_val("advanced_options", "run_scripts"),
run_filter=self._select_val("advanced_options", "run_filter"),
exit_key=self._select_val("advanced_options", "exit_key"),
log_lvl=self._select_val("advanced_options", "log_lvl"),
scripts=self._select_val("advanced_options", "scripts").split(","),
process_name=self._select_val("advanced_options", "process_name"),
run_filter=self._select_val("advanced_options", "run_filter"),
run_scripts=self._select_val("advanced_options", "run_scripts"),
scripts=self._select_val("advanced_options", "scripts").split(","),
)
self._char = CharModel(inventory=self._select_val("char", "inventory"))
self._general = GeneralModel(
profiles=self._select_val("general", "profiles").split(","),
run_vision_mode_on_startup=self._select_val("general", "run_vision_mode_on_startup"),
check_chest_tabs=self._select_val("general", "check_chest_tabs").split(","),
hidden_transparency=self._select_val("general", "hidden_transparency"),
keep_aspects=self._select_val("general", "keep_aspects"),
local_prefs_path=self._select_val("general", "local_prefs_path"),
profiles=self._select_val("general", "profiles").split(","),
run_vision_mode_on_startup=self._select_val("general", "run_vision_mode_on_startup"),
)

@property
Expand Down

0 comments on commit aed0c21

Please sign in to comment.