From 3fd47c7da90ab6d113f50dcbfa07a6a1248cb3df Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 21 Jan 2024 00:08:05 -0500 Subject: [PATCH] Fix type error --- ph_rando/ui/gui.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ph_rando/ui/gui.py b/ph_rando/ui/gui.py index ca7de385..51ffaf23 100644 --- a/ph_rando/ui/gui.py +++ b/ph_rando/ui/gui.py @@ -211,6 +211,11 @@ def _on_randomize_button_click() -> None: randomize_btn.clicked.connect(_on_randomize_button_click) def randomize(self) -> NintendoDSRom: + # TODO: actually validate these properly instead of using asserts + assert self.seed is not None + assert self.settings is not None + assert self.rom_path is not None + # Run the shuffler shuffled_aux_data = Shuffler(self.seed, self.settings).generate()