From dd7b2c30a2b193e24eaf7735339dab7852e770ef Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 16 Feb 2019 02:13:59 +0800 Subject: [PATCH] Update qbittorrent_worker.py --- plugins/qbittorrent/workers/qbittorrent_worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/qbittorrent/workers/qbittorrent_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py index f595336e6..94e756d54 100755 --- a/plugins/qbittorrent/workers/qbittorrent_worker.py +++ b/plugins/qbittorrent/workers/qbittorrent_worker.py @@ -225,6 +225,7 @@ class downloadBT(Thread): info = self.query( "select id from pl_hash_list where info_hash='" + shash + "'") + sname = mdb.escape_string(sname) if len(info) > 0: pid = str(info[0][0]) file_data = self.query(