Fix #1976 : Trailing newlines in move_storage

This commit is contained in:
Calum Lind 2011-12-01 18:48:20 +00:00
parent d3c3d64cd4
commit d96fae520d
1 changed files with 2 additions and 0 deletions

View File

@ -840,6 +840,8 @@ class Torrent(object):
# String is already unicode
dest_u = dest
dest_u = sanitize_filepath(dest_u)
if not os.path.exists(dest_u):
try:
# Try to make the destination path if it doesn't exist