mirror of
https://github.com/sys-fs/seddy
synced 2024-11-29 05:55:29 -05:00
Variable naming error
This commit is contained in:
parent
ed99ca5c9d
commit
c3283b1916
4
seddy.py
4
seddy.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user