mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
forget uploads that failed to initialize
This commit is contained in:
parent
faac894706
commit
0ee574a718
|
@ -1870,7 +1870,11 @@ class Up2k(object):
|
|||
job["need"].append(k)
|
||||
lut[k] = 1
|
||||
|
||||
try:
|
||||
self._new_upload(job)
|
||||
except:
|
||||
self.registry[job["ptop"]].pop(job["wark"], None)
|
||||
raise
|
||||
|
||||
purl = "{}/{}".format(job["vtop"], job["prel"]).strip("/")
|
||||
purl = "/{}/".format(purl) if purl else "/"
|
||||
|
|
Loading…
Reference in a new issue