arguments.py: Avoid overwritting vars in auto patcher

This commit is contained in:
Mykola Grymalyuk
2022-05-05 14:53:52 -06:00
parent ca35f11ad4
commit b39ff91251
+2 -1
View File
@@ -10,6 +10,7 @@ class arguments:
self.args = utilities.check_cli_args() self.args = utilities.check_cli_args()
def parse_arguments(self, settings): def parse_arguments(self, settings):
if not self.args.auto_patch:
if self.args.model: if self.args.model:
if self.args.model: if self.args.model:
print(f"- Using custom model: {self.args.model}") print(f"- Using custom model: {self.args.model}")
@@ -19,7 +20,7 @@ class arguments:
print( print(
"""Your model is not supported by this patcher for running unsupported OSes!" """Your model is not supported by this patcher for running unsupported OSes!"
If you plan to create the USB for another machine, please select the "Change Model" option in the menu.""" If you plan to create the USB for another machine, please select the "Change Model" option in the menu."""
) )
sys.exit(1) sys.exit(1)
else: else: