Update qbittorrent_worker.py

pull/109/head
Mr Chen 6 years ago
parent 3e06a8a966
commit 4feee28efa
  1. 12
      plugins/qbittorrent/workers/qbittorrent_worker.py

@ -163,11 +163,11 @@ class downloadBT(Thread):
md5file = self.md5(file)[0:6]
if self.islock(md5file):
print self.debug('file:' + file + ' is lock, doing')
return
else:
self.lock(md5file)
# if self.islock(md5file):
# print self.debug('file:' + file + ' is lock, doing')
# return
# else:
# self.lock(md5file)
if not os.path.exists(file):
print formatTime(), 'file not exists:', file
@ -211,7 +211,7 @@ class downloadBT(Thread):
FILE_GROUP + ' ' + m3u8_dir)
else:
print self.debug('m3u8 exists:' + tofile)
self.unlock(md5file)
# self.unlock(md5file)
def file_arr(self, path, filters=['.DS_Store']):
file_list = []

Loading…
Cancel
Save