Skip to content

Commit

Permalink
remove obsolete download functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
maede97 committed Nov 5, 2024
1 parent c0cc5ed commit e4d0716
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,23 +403,6 @@ def download(uuid):
mimetype="application/json",
)

if not files_exists and storage is not None:

logger.debug("Files not found, creating them now.")
logger.debug("Storage options: %s" % storage["options"])

# Create the folder and files
thread = Thread(
target=create_export, kwargs={"options": storage["options"], "uuid": uuid}
)
thread.start()

return app.response_class(
response=json.dumps({"status": GeneratorStatus.RUNNING, "uuid": str(uuid)}),
status=200,
mimetype="application/json",
)

if not files_exists and storage is None:
return app.response_class(
response=json.dumps(
Expand Down

0 comments on commit e4d0716

Please sign in to comment.