We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a481bfa commit 4c92f8cCopy full SHA for 4c92f8c
web_programming/slack_message.py
@@ -13,7 +13,7 @@ def send_slack_message(message_body: str, slack_url: str) -> None:
13
)
14
15
16
-if __name__ == "main":
+if __name__ == "__main__":
17
# Set the slack url to the one provided by Slack when you create the webhook at
18
# https://my.slack.com/services/new/incoming-webhook/
19
send_slack_message("<YOUR MESSAGE BODY>", "<SLACK CHANNEL URL>")
0 commit comments