opened
miguelgfierro
username_0
```
def _save_image(raw_image, image_type, save_directory):
    os.makedirs(save_directory, exist_ok=True)
    extension = image_type if image_type else "jpg"
    file_name = str(uuid.uuid4().hex) + "." + extension
    save_path = os.path.join(save_directory, file_name)
    with open(save_path, "wb+") as image_file:
        image_file.write(raw_image)
```
the file name is a random name instead of a name related to the file
BUG not possible to get the filename where the data is downloaded
issue
closed
miguelgfierro
username_0
issue