<gh_stars>0
# # -*- coding: utf-8 -*-
# import logging

# from loguru import logger


# def save_image(file_name: str, image_data: bytes):

#     logging.debug(len(image_data))
#     with open(f"statics/bot_images/{file_name.lower()}", "wb") as w:
#         w.write(image_data)
#         logger.info(f"images file {file_name} written to statics folder")

# # -*- coding: utf-8 -*-
# import logging

# from loguru import logger


# def save_image(file_name: str, image_data: bytes):

#     logging.debug(len(image_data))
#     with open(f"statics/bot_images/{file_name.lower()}", "wb") as w:
#         w.write(image_data)
#         logger.info(f"images file {file_name} written to statics folder")
# # -*- coding: utf-8 -*- # import logging # from loguru import logger # def save_image(file_name: str, image_data: bytes): #     logging.debug(len(image_data)) #     with open(f"statics/bot_images/{file_name.lower()}", "wb") as w: #         w.write(image_data) #         logger.info(f"images file {file_name} written to statics folder")