[#2953] Fix except variable typo

This commit is contained in:
Calum Lind 2017-01-09 17:55:52 +00:00
commit 3c1995476d

View file

@ -911,7 +911,7 @@ class Torrent(object):
try: try:
# Try to make the destination path if it doesn't exist # Try to make the destination path if it doesn't exist
os.makedirs(dest) os.makedirs(dest)
except OSError, e: except OSError, ex:
log.error("Could not move storage for torrent %s since %s does " log.error("Could not move storage for torrent %s since %s does "
"not exist and could not create the directory: %s", "not exist and could not create the directory: %s",
self.torrent_id, dest, ex) self.torrent_id, dest, ex)