Fix die expression allowing junk after
This commit is contained in:
parent
8dfebf6970
commit
18445efa27
|
@ -25,7 +25,7 @@ accountcheck = []
|
||||||
accountcheckid = 0
|
accountcheckid = 0
|
||||||
accountchecklock = threading.Lock()
|
accountchecklock = threading.Lock()
|
||||||
|
|
||||||
die_expr=re.compile("#[0-9]*d([0-9]+|%)([+-][0-9]+)?")
|
die_expr=re.compile("#[0-9]*d([0-9]+|%)([+-][0-9]+)?$")
|
||||||
|
|
||||||
class Cron(threading.Thread):
|
class Cron(threading.Thread):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue