1
0
mirror of https://github.com/sys-fs/seddy synced 2024-11-25 12:40:40 -05:00

Variable naming error

This commit is contained in:
Thomas Mannay 2017-05-16 02:19:39 +01:00 committed by GitHub
parent ed99ca5c9d
commit c3283b1916

View File

@ -56,13 +56,13 @@ class Queue:
return False
def seddy(sed, history):
flag = 0
f = 0
regex = parse_sed.split(sed)
if len(regex) < 4:
return False
if 'i' in regex[3]:
flag |= re.I
f |= re.I
try:
msg = history.find(regex[1], f)
except: