Skip to content

Commit

Permalink
Ignore invalid name on SLASH_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
smk4664 committed Oct 28, 2022
1 parent 7b5e7be commit ab032c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_chatops/sockets/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

async def main(): # pylint: disable=too-many-statements
"""Slack Socket Main Loop."""
SLASH_PREFIX = settings.PLUGINS_CONFIG["nautobot_chatops"].get("slack_slash_command_prefix")
SLASH_PREFIX = settings.PLUGINS_CONFIG["nautobot_chatops"].get("slack_slash_command_prefix") # pylint:disable=invalid-name
client = SocketModeClient(
app_token=settings.PLUGINS_CONFIG["nautobot_chatops"].get("slack_app_token"),
web_client=AsyncWebClient(token=settings.PLUGINS_CONFIG["nautobot_chatops"]["slack_api_token"]),
Expand Down

0 comments on commit ab032c7

Please sign in to comment.