diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-07-10 22:18:39 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-07-10 22:18:39 +0200 |
commit | a4783d23328e37f9a931c8c2d3c994496cf72cb5 (patch) | |
tree | 9d13af62ec7847fbb34a31bfe693cae093f7b3b2 | |
parent | 7908257d630648d239d3e5b21f444d442e599385 (diff) | |
download | troggle-a4783d23328e37f9a931c8c2d3c994496cf72cb5.tar.gz troggle-a4783d23328e37f9a931c8c2d3c994496cf72cb5.tar.bz2 troggle-a4783d23328e37f9a931c8c2d3c994496cf72cb5.zip |
fix for python 3.11
-rw-r--r-- | core/views/editor_helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/editor_helpers.py b/core/views/editor_helpers.py index 9db71c2..252d92e 100644 --- a/core/views/editor_helpers.py +++ b/core/views/editor_helpers.py @@ -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(): |