Skip to content

Commit

Permalink
Fix line 40
Browse files Browse the repository at this point in the history
  • Loading branch information
Sliicy committed Apr 17, 2020
1 parent 14e223d commit 4f594c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eruv_alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def extract(obj, arr, key):
def shorten_message(message):
"""This function recursively tries to shorten a message
to under 160 characters"""
if len(message) =< 160:
if len(message) <= 160:
return message
else:
if '50 min' in message:
Expand Down

0 comments on commit 4f594c6

Please sign in to comment.