Skip to content

Commit

Permalink
Fix another type error
Browse files Browse the repository at this point in the history
  • Loading branch information
mike8699 committed Jan 24, 2024
1 parent 3fd47c7 commit 6f2322b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ph_rando/patcher/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def patcher_cli(
input_rom_path: Path,
output_rom_path: str | None,
log_level: str,
**settings: bool | str | list[str],
**settings: bool | str | set[str],
) -> None:
from ph_rando.shuffler._shuffler import parse_aux_data

Expand Down
4 changes: 2 additions & 2 deletions ph_rando/shuffler/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logger = logging.getLogger(__name__)


def shuffle(seed: str, settings: dict[str, str | list[str] | bool]) -> ShufflerAuxData:
def shuffle(seed: str, settings: dict[str, str | set[str] | bool]) -> ShufflerAuxData:
"""
Parses aux data and logic, shuffles the aux data, and returns it.
Expand Down Expand Up @@ -60,7 +60,7 @@ def shuffler_cli(
output: str | None,
log_level: str,
spoiler_log: str | None,
**settings: bool | str | list[str],
**settings: bool | str | set[str],
) -> None:
logging.basicConfig(level=logging.getLevelNamesMapping()[log_level])

Expand Down

0 comments on commit 6f2322b

Please sign in to comment.