disable PIL debug logging

This commit is contained in:
j 2016-01-23 18:56:13 +05:30
parent ea7826d398
commit f008f3d200
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ from ox import strip_tags, decode_html
from utils import find_isbns, get_language, to_isbn13
import logging
logging.getLogger('PIL').setLevel(logging.ERROR)
logger = logging.getLogger(__name__)

View File

@ -30,6 +30,7 @@ from Crypto.Util.asn1 import DerSequence
from meta.utils import normalize_isbn, find_isbns, get_language, to_isbn13
import logging
logging.getLogger('PIL').setLevel(logging.ERROR)
logger = logging.getLogger(__name__)
ENCODING='base64'