dont fail if removing file fails

This commit is contained in:
j 2014-09-29 11:58:48 +02:00
parent 9cab726ec5
commit 4cdbd3c4f2

View file

@ -97,7 +97,10 @@ class Incoming(object):
# remove file after successfull upload
if r:
try:
os.unlink(f)
except:
pass
else:
print f, 'failed'