Skip to content

Commit

Permalink
fix 500 error
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed Jun 26, 2024
1 parent 1261a86 commit f7bcd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WebHostLib/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def test_action_2(world_name: str) -> dict:
"range_start": option.range_start,
"range_end": option.range_end,
}
else:
elif issubclass(option, Options.NumericOption):
print(option_name)
options[option_name] = {
"default": option.name_lookup[option.default] if not isinstance(option.default, str) else option.default
}
Expand Down

0 comments on commit f7bcd5c

Please sign in to comment.