From 82c091f64af3ffacd4f829f8e654e54a1e65b9bb Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 30 Jul 2021 12:55:01 +0200 Subject: [PATCH] Add logger for transmission --- pynyaata/config.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pynyaata/config.py b/pynyaata/config.py index 0870ac4..7f40e9c 100644 --- a/pynyaata/config.py +++ b/pynyaata/config.py @@ -65,4 +65,9 @@ if transmission_host: TRANSMISSION_ENABLED = True transmission_username = environ.get('TRANSMISSION_RPC_USERNAME') 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 + )