Fix die expression allowing junk after

This commit is contained in:
Juhani Haverinen 2016-03-21 21:59:57 +02:00
parent 8dfebf6970
commit 18445efa27
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ accountcheck = []
accountcheckid = 0
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):
def __init__(self):