allow any log level (and netlify has been set to LOG_LEVEL=DEBUG)

This commit is contained in:
Jérôme Petazzoni
2017-10-30 09:31:15 -07:00
parent 03561f38d8
commit deb304026b

View File

@@ -11,8 +11,7 @@ import sys
import yaml
if os.environ.get("DEBUG") == "1":
logging.basicConfig(level=logging.DEBUG)
logging.basicConfig(level=os.environ.get("LOG_LEVEL", "INFO"))
class InvalidChapter(ValueError):