Adjust upload folder creation check in main

This commit is contained in:
Cara Salter 2024-04-01 14:59:34 +11:00
parent 6209ab87cf
commit a7fce0a583
No known key found for this signature in database
GPG key ID: A8A3A601440EADA5

View file

@ -46,7 +46,7 @@ def create_app():
# Ensure that uploads directory exists
try:
os.mkdir(app.config["UPLOAD_FOLDER"])
os.mkdir("acmsite/" + app.config["UPLOAD_FOLDER"])
except FileExistsError:
pass