Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update slack_handler.py #7305

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Update slack_handler.py #7305

merged 1 commit into from
Sep 12, 2023

Conversation

truesoni
Copy link
Contributor

statement ends with a semicolon.

It's currently on:
[mindsdb\integrations\handlers\slack_handler\slack_handler.py:62]

Description

Found a minor issue: The statement ends with a semicolon

It's currently on:
[mindsdb\integrations\handlers\slack_handler\slack_handler.py:62]

Code:
channel_name = conditions[0][2];

Unlike programming languages like Java and C++, statements in Python do not need to end with a semicolon. They can be removed.

Fixes #(issue)
removed ; from [mindsdb\integrations\handlers\slack_handler\slack_handler.py:62]

statement ends with a semicolon.

It's currently on:
[mindsdb\integrations\handlers\slack_handler\slack_handler.py:62]
@ZoranPandovski ZoranPandovski merged commit b0a5e9f into mindsdb:staging Sep 12, 2023
6 of 7 checks passed
@StpMax StpMax mentioned this pull request Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants