@ -303,7 +303,7 @@ class PublicRelations(Bureau):
filename = "/tmp/" + filename
print("fetching", img.remote_url, filename)
req_data = requests.get(img.url)
im = PIL.Image.open(io.BytesIO(filename))
im = PIL.Image.open(io.StringIO(filename))
if im.mode in ("L", "RGB", "P"):
im = PIL.ImageOps.equalize(im)
im.thumbnail((576, 576), PIL.Image.ANTIALIAS)