mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
fix for python 3.11
This commit is contained in:
parent
7908257d63
commit
a4783d2332
@ -103,7 +103,7 @@ def new_image_form(request, path):
|
||||
form = NewWebImageForm(request.POST, request.FILES, directory=directory)
|
||||
if form.is_valid():
|
||||
print(f"new_image_form(): form is valid ")
|
||||
print(f"new_image_form(): files: {request.FILES["file_"]}")
|
||||
print(f"new_image_form(): files: {request.FILES['file_']}")
|
||||
f = request.FILES["file_"]
|
||||
binary_data = io.BytesIO()
|
||||
for chunk in f.chunks():
|
||||
|
Loading…
Reference in New Issue
Block a user