mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-17 07:38:42 +00:00
Fix indention error in move_storage
This commit is contained in:
parent
5c545c5e0b
commit
5f5b6fad0b
1 changed files with 3 additions and 3 deletions
|
@ -839,10 +839,10 @@ class Torrent(object):
|
||||||
def move_storage(self, dest):
|
def move_storage(self, dest):
|
||||||
"""Move a torrent's storage location"""
|
"""Move a torrent's storage location"""
|
||||||
try:
|
try:
|
||||||
dest = unicode(dest, "utf-8")
|
dest = unicode(dest, "utf-8")
|
||||||
except TypeError:
|
except TypeError:
|
||||||
# String is already unicode
|
# String is already unicode
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if not os.path.exists(dest):
|
if not os.path.exists(dest):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue