aboutsummaryrefslogtreecommitdiffstats
path: root/services.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-10-08 22:50:51 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-10-08 22:50:51 +0000
commit4745abf19b6c5643d7e5549357d0667a9e322067 (patch)
tree6a473e55e34adb73447857f843e237298f0515b6 /services.py
parent5d5abedb7504a93bda52fc326e39255629e2c648 (diff)
downloadboymoder.blog-4745abf19b6c5643d7e5549357d0667a9e322067.tar.gz
boymoder.blog-4745abf19b6c5643d7e5549357d0667a9e322067.zip
Updated index markdown
Diffstat (limited to 'services.py')
-rwxr-xr-xservices.py4
1 files changed, 2 insertions, 2 deletions
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"])