From 448e468adc2e4cc76effbbf83ef8fa2534fafa94 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 24 Jan 2019 17:13:58 +0800 Subject: [PATCH] Update qbittorrent_worker.py --- plugins/qbittorrent/workers/qbittorrent_worker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/qbittorrent/workers/qbittorrent_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py index c1fffb151..16ca422da 100755 --- a/plugins/qbittorrent/workers/qbittorrent_worker.py +++ b/plugins/qbittorrent/workers/qbittorrent_worker.py @@ -52,6 +52,10 @@ FILE_TRANSFER_TO = cp.get(section_file, "FILE_TRANSFER_TO") FILE_OWN = cp.get(section_file, "FILE_OWN") FILE_GROUP = cp.get(section_file, "FILE_GROUP") +section_task = cp.sections()[3] +TASK_RATE = cp.get(section_file, "TASK_RATE") +TASK_COMPLETED_RATE = cp.get(section_file, "TASK_COMPLETED_RATE") + class downloadBT(Thread):