Browse Source

If the parser fails, return False

master
Thomas Mannay GitHub 7 years ago
parent
commit
2b793d24ec
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      seddy.py

+ 2
- 0
seddy.py View File

@@ -57,6 +57,8 @@ class Queue:


def seddy(sed, history): def seddy(sed, history):
regex = parse_sed.split(sed) regex = parse_sed.split(sed)
if len(regex) < 4:
return False
msg = history.find(regex[1]) msg = history.find(regex[1])
f = 0 f = 0




Loading…
Cancel
Save