Fix title handling
This commit is contained in:
parent
3748d24d43
commit
85d8ff947d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def addjob(req):
|
|||
config = configparser.ConfigParser(strict=False, interpolation=None)
|
||||
|
||||
try:
|
||||
title = re.sub(r"[^a-zA-Z0-9_\-]", "_", req.args["title"][0]) or output
|
||||
title = re.sub(r"[^a-zA-Z0-9_\-]", "_", req.args["title"][0]) or "output"
|
||||
except:
|
||||
title = "output"
|
||||
|
||||
|
|
Loading…
Reference in a new issue