Skip to content

Commit

Permalink
Fix pylint whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshg999 authored and sreenaths committed Feb 22, 2021
1 parent 152c77d commit b8b17a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions desktop/core/src/desktop/lib/botserver/views.py
Expand Up @@ -51,12 +51,12 @@ def slack_events(request):

# challenge verification
if slack_message['type'] == 'url_verification':
response_dict = {"challenge": slack_message['challenge']}
return JsonResponse(response_dict, status=200)
response_dict = {"challenge": slack_message['challenge']}
return JsonResponse(response_dict, status=200)

if 'event' in slack_message:
event_message = slack_message['event']
parse_events(event_message)
event_message = slack_message['event']
parse_events(event_message)
except Exception as ex:
raise PopupException(_("Response content is not valid JSON"), detail=ex)

Expand Down

0 comments on commit b8b17a3

Please sign in to comment.