1
0
mirror of https://github.com/sys-fs/seddy synced 2024-11-25 20:47:51 -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 return False
def seddy(sed, history): def seddy(sed, history):
flag = 0 f = 0
regex = parse_sed.split(sed) regex = parse_sed.split(sed)
if len(regex) < 4: if len(regex) < 4:
return False return False
if 'i' in regex[3]: if 'i' in regex[3]:
flag |= re.I f |= re.I
try: try:
msg = history.find(regex[1], f) msg = history.find(regex[1], f)
except: except: