Skip to content

Commit

Permalink
Fix to make description text instead of tuple
Browse files Browse the repository at this point in the history
This appears to have been an error during formatting.
  • Loading branch information
danpalmer authored and milesbxf committed Sep 25, 2019
1 parent ba57847 commit 8ec8efc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions response/slack/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ def update_incident_impact_event(prev_state, instance):

def update_incident_severity_event(prev_state, instance):
if prev_state.severity:
text = (
f"Incident severity updated from {prev_state.severity_text()} to {instance.severity_text()}",
)
text = f"Incident severity updated from {prev_state.severity_text()} to {instance.severity_text()}"
else:
text = f"Incident severity set to {instance.severity_text()}"

Expand Down

0 comments on commit 8ec8efc

Please sign in to comment.