Update qbittorrent_worker.py

This commit is contained in:
midoks
2020-07-22 22:52:48 +08:00
parent bd7906595a
commit d86c6ad6ee
@@ -491,10 +491,11 @@ class downloadBT(Thread):
print '-------------------------add_hash---start-----------------------'
pid = self.get_hashlist_id()
fid = self.get_hashfile_id(fname, m3u8_name, pid)
fid = 0
if pid:
fid = self.get_hashfile_id(fname, m3u8_name, pid)
print '-------------------------add_hash---end--------------------------'
return fid
def file_arr(self, path, filters=['.DS_Store']):