Skip to content

Commit

Permalink
style: fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WinPlay02 committed Jan 23, 2024
1 parent a52345d commit 03e55ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/safeds_runner/server/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,9 @@ def validate_program_message_data(message_data: dict[str, Any] | str) -> tuple[M
or "modulepath" not in message_data["main"]
or "module" not in message_data["main"]
or "pipeline" not in message_data["main"]
or len(message_data["main"]) != 3
):
return None, "Invalid 'main' parameter given"
elif len(message_data["main"]) != 3:
return None, "Invalid 'main' parameter given"
elif not isinstance(message_data["code"], dict):
return None, "Invalid 'code' parameter given"
else:
Expand Down

0 comments on commit 03e55ce

Please sign in to comment.