Update index.py

pull/109/head
Mr Chen 6 years ago
parent 5e212f64c0
commit 621c4c9e74
  1. 6
      plugins/qbittorrent/index.py

@ -86,9 +86,9 @@ def getRunLog():
def initDreplace():
ddir = getServerDir() + '/workers'
# if not os.path.exists(ddir):
sdir = getPluginDir() + '/workers'
public.execShell('cp -rf ' + sdir + ' ' + getServerDir())
if not os.path.exists(ddir):
sdir = getPluginDir() + '/workers'
public.execShell('cp -rf ' + sdir + ' ' + getServerDir())
cfg = getServerDir() + '/qb.conf'
if not os.path.exists(cfg):

Loading…
Cancel
Save