Skip to content

Commit

Permalink
Update sweepai/handlers/on_ticket.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-nightly[bot] authored Jul 30, 2023
1 parent 2713e8c commit 1067f09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sweepai/handlers/on_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ def on_ticket(
title = title[7:]
elif title.lower().startswith("sweep "):
title = title[6:]
elif title.lower().startswith("sweep(slow): "):
if title.lower().startswith("sweep (slow) "):
title = title[13:]
slow_mode = True
else:
slow_mode = False
elif title.lower().startswith("sweep(slow) "):
title = title[12:]
slow_mode = True
Expand Down

0 comments on commit 1067f09

Please sign in to comment.