Update qbittorrent_worker.py

pull/109/head
Mr Chen 6 years ago
parent 272bda723a
commit 87136bca0c
  1. 3
      plugins/qbittorrent/workers/qbittorrent_worker.py

@ -165,6 +165,7 @@ class downloadBT(Thread):
if self.islock(md5file):
print self.debug('file:' + file + ' is lock, doing')
return
else:
self.lock(md5file)
@ -178,7 +179,7 @@ class downloadBT(Thread):
print self.debug('cmd_mp4:' + cmd_mp4)
if not os.path.exists(mp4file):
data_mp4 = self.execShell(cmd_mp4)
data_mp4 = os.system(cmd_mp4)
print self.debug('mp4:' + data_mp4[1])
else:
print self.debug('mp4 exists:' + mp4file)

Loading…
Cancel
Save