Update qbittorrent_worker.py

This commit is contained in:
midoks 2019-02-16 02:13:59 +08:00
parent 763744b4a5
commit dd7b2c30a2
1 changed files with 1 additions and 0 deletions

View File

@ -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(