1
0
mirror of https://github.com/sys-fs/seddy synced 2024-11-22 11:54:16 -05:00

If the parser fails, return False

This commit is contained in:
Thomas Mannay 2016-11-05 17:19:27 +00:00 committed by GitHub
parent 86c94e4a4a
commit 2b793d24ec

View File

@ -57,6 +57,8 @@ class Queue:
def seddy(sed, history):
regex = parse_sed.split(sed)
if len(regex) < 4:
return False
msg = history.find(regex[1])
f = 0