Add logger for transmission
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2021-07-30 12:55:01 +02:00
parent ff60da27e9
commit 82c091f64a

View File

@ -65,4 +65,9 @@ if transmission_host:
TRANSMISSION_ENABLED = True TRANSMISSION_ENABLED = True
transmission_username = environ.get('TRANSMISSION_RPC_USERNAME') transmission_username = environ.get('TRANSMISSION_RPC_USERNAME')
transmission_password = environ.get('TRANSMISSION_RPC_PASSWORD') transmission_password = environ.get('TRANSMISSION_RPC_PASSWORD')
transmission = Client(username=transmission_username, password=transmission_password, host=transmission_host) transmission = Client(
username=transmission_username,
password=transmission_password,
host=transmission_host,
logger=logger
)