mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
add missing -nw check
This commit is contained in:
parent
83b4b70ef4
commit
51546c9e64
|
@ -1047,8 +1047,9 @@ class Up2k(object):
|
|||
pdir = os.path.join(cj["ptop"], cj["prel"])
|
||||
job["name"] = self._untaken(pdir, cj["name"], now, cj["addr"])
|
||||
dst = os.path.join(job["ptop"], job["prel"], job["name"])
|
||||
os.unlink(fsenc(dst)) # TODO ed pls
|
||||
self._symlink(src, dst)
|
||||
if not self.args.nw:
|
||||
os.unlink(fsenc(dst)) # TODO ed pls
|
||||
self._symlink(src, dst)
|
||||
|
||||
if not job:
|
||||
job = {
|
||||
|
|
Loading…
Reference in a new issue