mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 19:28:25 +02:00
fix: If parameter where missing in StrEditor, the installer would still try to evaluate it in safe_eval, resulting in a crash
This commit is contained in:
parent
adec26c4c1
commit
ba4980e0b9
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ class StrEditor(AbstractPatchOperation):
|
|||
patch_content = BytesIO(
|
||||
wstrt.patch_data(
|
||||
file_content.read(),
|
||||
region=patch.mod_config.multiple_safe_eval(self.region)(),
|
||||
https=patch.mod_config.multiple_safe_eval(self.https)(),
|
||||
domain=patch.mod_config.multiple_safe_eval(self.domain)(),
|
||||
region=patch.mod_config.multiple_safe_eval(self.region)() if self.region is not None else None,
|
||||
https=patch.mod_config.multiple_safe_eval(self.https)() if self.https is not None else None,
|
||||
domain=patch.mod_config.multiple_safe_eval(self.domain)() if self.domain is not None else None,
|
||||
sections=checked_sections
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue