timeout fix

This commit is contained in:
meisnate12 2021-10-25 18:01:11 -04:00
parent eb3740b739
commit f7fad1ca2a

View file

@ -2,7 +2,7 @@ import argparse, logging, os, sys, time
from datetime import datetime
from logging.handlers import RotatingFileHandler
try:
import schedule
import plexapi, schedule
from modules import util
from modules.builder import CollectionBuilder
from modules.config import Config
@ -161,7 +161,7 @@ def update_libraries(config):
library_handler.doRollover()
logger.addHandler(library_handler)
os.environ["PLEXAPI_PLEXAPI_TIMEOUT"] = str(library.timeout)
plexapi.TIMEOUT = library.timeout
logger.info("")
util.separator(f"{library.name} Library")
items = None