Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
mike8699 committed Jan 21, 2024
1 parent b25e310 commit 3fd47c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ph_rando/ui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 3fd47c7

Please sign in to comment.