Fixes #5 #6
@ -169,7 +169,10 @@ class Pipeline:
|
||||
|
||||
# Delete queue file and upload data
|
||||
os.remove(os.path.join(self.queue, target_id))
|
||||
try:
|
||||
os.remove(os.path.join(self.error, target_id))
|
||||
except OSError:
|
||||
pass
|
||||
shutil.rmtree(package['base'])
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user