disable PIL debug logging
This commit is contained in:
parent
ea7826d398
commit
f008f3d200
2 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ from ox import strip_tags, decode_html
|
||||||
from utils import find_isbns, get_language, to_isbn13
|
from utils import find_isbns, get_language, to_isbn13
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
logging.getLogger('PIL').setLevel(logging.ERROR)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ from Crypto.Util.asn1 import DerSequence
|
||||||
from meta.utils import normalize_isbn, find_isbns, get_language, to_isbn13
|
from meta.utils import normalize_isbn, find_isbns, get_language, to_isbn13
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
logging.getLogger('PIL').setLevel(logging.ERROR)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
ENCODING='base64'
|
ENCODING='base64'
|
||||||
|
|
Loading…
Reference in a new issue