ensure temp dir exists
This commit is contained in:
@@ -222,6 +222,8 @@ class FileAPI(Resource):
|
|||||||
file = request.files['file']
|
file = request.files['file']
|
||||||
|
|
||||||
if file and self.allowed_file(file.filename):
|
if file and self.allowed_file(file.filename):
|
||||||
|
os.makedirs(project.upload_path, exist_ok=True)
|
||||||
|
|
||||||
local_client = svn.local.LocalClient(project.repository_path)
|
local_client = svn.local.LocalClient(project.repository_path)
|
||||||
# TODO, add the merge operation to a queue. Later on, the request could stop here
|
# TODO, add the merge operation to a queue. Later on, the request could stop here
|
||||||
# and all the next steps could be done in another loop, or triggered again via
|
# and all the next steps could be done in another loop, or triggered again via
|
||||||
|
Reference in New Issue
Block a user