Set logging level for Image module to info
This commit is contained in:
@@ -13,6 +13,8 @@ gallery_thumb_path_url = Path(settings.MEDIA_URL) / settings.GALLERY["thumb_path
|
||||
logger = logging.getLogger(__name__)
|
||||
size = (320, 320)
|
||||
|
||||
Image.logger.setLevel(level=logging.INFO)
|
||||
|
||||
|
||||
def get_image_list(folder_name: str) -> list:
|
||||
image_path = Path(gallery_path) / folder_name
|
||||
|
||||
Reference in New Issue
Block a user