|
@ -87,8 +87,6 @@ def upload(): |
|
|
if not (check_length(name) and check_length(teacher, 10) and check_length(notes, 200, True)): |
|
|
if not (check_length(name) and check_length(teacher, 10) and check_length(notes, 200, True)): |
|
|
abort(422) |
|
|
abort(422) |
|
|
|
|
|
|
|
|
print(request.form) |
|
|
|
|
|
|
|
|
|
|
|
files = request.files.getlist('files[]') |
|
|
files = request.files.getlist('files[]') |
|
|
|
|
|
|
|
|
dir_name = username + str(datetime.now()) |
|
|
dir_name = username + str(datetime.now()) |
|
|