parent
d43e655181
commit
ea51ad92d6
1 changed files with 0 additions and 6 deletions
|
@ -147,12 +147,6 @@ async def generate(recid: int, response: Response, background_tasks: BackgroundT
|
|||
"message": "The file has already been generated at %s" % rec.filename,
|
||||
"rec": rec,
|
||||
}
|
||||
if rec.filename is not None:
|
||||
return {
|
||||
"status": "ready",
|
||||
"message": "Generating...",
|
||||
"rec": rec,
|
||||
}
|
||||
if (
|
||||
get_config()["FORGE_MAX_DURATION"] > 0
|
||||
and (rec.endtime - rec.starttime).total_seconds()
|
||||
|
|
Loading…
Reference in a new issue