Adjust upload folder creation check in main
This commit is contained in:
parent
6209ab87cf
commit
a7fce0a583
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def create_app():
|
||||||
|
|
||||||
# Ensure that uploads directory exists
|
# Ensure that uploads directory exists
|
||||||
try:
|
try:
|
||||||
os.mkdir(app.config["UPLOAD_FOLDER"])
|
os.mkdir("acmsite/" + app.config["UPLOAD_FOLDER"])
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue