🐛 Fixed logging bug with /movie
This commit is contained in:
@ -2,6 +2,7 @@ import json
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import imdb
|
||||
from .helperClasses import Options
|
||||
|
||||
FORMAT = " %(asctime)s | %(name)-16s | %(levelname)-8s | %(message)s"
|
||||
@ -17,6 +18,8 @@ handler.setFormatter(logging.Formatter(fmt = PRINTFORMAT, datefmt=DATEFORMAT))
|
||||
printer.addHandler(handler)
|
||||
printer.propagate = False
|
||||
|
||||
imdb._logging.setLevel("CRITICAL")
|
||||
|
||||
def getParams():
|
||||
with open("resources/slashParameters.json", "r") as f:
|
||||
params = json.load(f)
|
||||
|
Reference in New Issue
Block a user