Skip to content

Commit

Permalink
fix log error
Browse files Browse the repository at this point in the history
  • Loading branch information
isaric committed Dec 15, 2023
1 parent bec2758 commit a2b1056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def add_message():
if content["event"]["channel"] == os.environ['READ_SLACK_CHANNEL_ID']:
detector.detect(content["event"]["files"][0]["url_private_download"])
else:
app.logger.info(f'Channel ID {["event"]["channel"]} is not on read list. Skipping event')
app.logger.info(f'Channel ID {content["event"]["channel"]} is not on read list. Skipping event')
return "OK"


0 comments on commit a2b1056

Please sign in to comment.