Need to type-cast int
This commit is contained in:
parent
70f3283d80
commit
0915ec019b
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue