Need to type-cast int

This commit is contained in:
niten 2023-01-10 13:23:41 -08:00
parent 70f3283d80
commit 0915ec019b
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ def analyze_image(request: Request, image: UploadFile):
chunk = image.file.read(buffer_size)
while chunk:
file_hash.update(chunk)
print ("writing " + buffer_size + " bytes")
print ("writing " + str(buffer_size) + " bytes")
f.write(chunk)
chunk = image.file.read(buffer_size)
print("save complete")