From 4745abf19b6c5643d7e5549357d0667a9e322067 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sat, 8 Oct 2022 22:50:51 +0000 Subject: Updated index markdown --- services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services.py') diff --git a/services.py b/services.py index 3680216..1e0f757 100755 --- a/services.py +++ b/services.py @@ -95,8 +95,8 @@ def get_qbit_stats(): def get_trans_stats(): client = clutch.client.Client( address = "http://%s:%s/transmission/rpc" % (app.CONFIG["transmission"]["url"], app.CONFIG["transmission"]["port"]), - # username = app.CONFIG["transmission"]["user"], - # password = app.CONFIG["transmission"]["passwd"] + username = app.CONFIG["transmission"]["username"], + password = app.CONFIG["transmission"]["password"] ) stats = json.loads(client.session.stats().json()) active_for = datetime.timedelta(seconds = stats["arguments"]["cumulative_stats"]["seconds_active"]) -- cgit v1.2.3