Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #105 from codelabsab/check_http_code
Browse files Browse the repository at this point in the history
Make output a bit prettier
  • Loading branch information
parberge authored Sep 10, 2019
2 parents 372877d + a9a3cc7 commit bed822e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ def interactive():

if failed_events:
logger.debug(f"Got {len(failed_events)} events")
msg = f"""
Successfully added {len(events) - len(failed_events)} events.
These however failed: ```{failed_events} ```
"""
msg = (
f"Successfully added {len(events) - len(failed_events)} events.\n"
"These however failed: ```{failed_events} ```"
)
slack_responder(url=response_url, msg=msg)
return ''
else:
Expand Down

0 comments on commit bed822e

Please sign in to comment.