Delete torrent's files correctly now.
This commit is contained in:
parent
797ac38ca7
commit
f631fb3116
|
@ -319,8 +319,7 @@ class Manager:
|
|||
shutil.rmtree(os.path.dirname(os.path.join(temp.save_dir, filename)))
|
||||
except OSError: # Perhaps it wasn't downloaded
|
||||
pass
|
||||
else:
|
||||
# This is just a file
|
||||
# Perhaps this is just a file, try to remove it
|
||||
try:
|
||||
os.remove(os.path.join(temp.save_dir, filename))
|
||||
except OSError:
|
||||
|
|
Loading…
Reference in New Issue