mirror of
https://github.com/sys-fs/seddy
synced 2025-05-11 01:13:12 -04:00
Remove references to haiku
This commit is contained in:
parent
6e8cc1681e
commit
ccff7d408c
4
seddy.py
4
seddy.py
@ -70,13 +70,13 @@ def seddy(sed, history, parser):
|
|||||||
regex = parser.split(sed)
|
regex = parser.split(sed)
|
||||||
|
|
||||||
if len(regex) < 4:
|
if len(regex) < 4:
|
||||||
return choice(haiku)
|
return False
|
||||||
if 'i' in regex[3]:
|
if 'i' in regex[3]:
|
||||||
f |= re.I
|
f |= re.I
|
||||||
try:
|
try:
|
||||||
msg = history.find(regex[1], f)
|
msg = history.find(regex[1], f)
|
||||||
except:
|
except:
|
||||||
return choice(haiku)
|
return False
|
||||||
if "g" in regex[3]:
|
if "g" in regex[3]:
|
||||||
res = msg_replace(regex[1], regex[2], msg, 0, f)
|
res = msg_replace(regex[1], regex[2], msg, 0, f)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user