From ccff7d408c7412a08ba1509223ceb93fb114239d Mon Sep 17 00:00:00 2001 From: Thomas Mannay Date: Tue, 23 Jan 2018 18:57:23 +0000 Subject: [PATCH] Remove references to haiku --- seddy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seddy.py b/seddy.py index 5e029fe..00b8a6d 100644 --- a/seddy.py +++ b/seddy.py @@ -70,13 +70,13 @@ def seddy(sed, history, parser): regex = parser.split(sed) if len(regex) < 4: - return choice(haiku) + return False if 'i' in regex[3]: f |= re.I try: msg = history.find(regex[1], f) except: - return choice(haiku) + return False if "g" in regex[3]: res = msg_replace(regex[1], regex[2], msg, 0, f) else: