Skip to content

Commit

Permalink
Fix issue where empty WebUI property is not parsed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
timhovius authored Dec 18, 2024
1 parent 961123f commit d58188b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def swarm() -> Response:
if isinstance(parsed_options_value, bool):
parsed_options_dict[key] = value == "true"
elif parsed_options_value is None:
parsed_options_dict[key] = parsed_options_value
parsed_options_dict[key] = value or None
else:
parsed_options_dict[key] = type(parsed_options_dict[key])(value)

Expand Down

0 comments on commit d58188b

Please sign in to comment.