From ab032c71a514ab1ff8649ff83e680a565f8873fc Mon Sep 17 00:00:00 2001 From: Stephen Kiely Date: Thu, 27 Oct 2022 21:00:25 -0500 Subject: [PATCH] Ignore invalid name on SLASH_PREFIX --- nautobot_chatops/sockets/slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nautobot_chatops/sockets/slack.py b/nautobot_chatops/sockets/slack.py index c88638fa..f2f916f0 100644 --- a/nautobot_chatops/sockets/slack.py +++ b/nautobot_chatops/sockets/slack.py @@ -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"]),