summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2017-01-09 17:55:52 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2017-01-09 17:55:52 +0000
commit3c1995476da7a50b2a042c56fae7127e1dfff14b (patch)
treed6905adac6cad98c5e238f4613ced516f1c8fe12
parent48cedf635feb01b81d927e7e84d13067931381d7 (diff)
downloaddeluge-3c1995476da7a50b2a042c56fae7127e1dfff14b.tar.gz
deluge-3c1995476da7a50b2a042c56fae7127e1dfff14b.tar.bz2
deluge-3c1995476da7a50b2a042c56fae7127e1dfff14b.zip
[#2953] Fix except variable typo
-rw-r--r--deluge/core/torrent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py
index feef72873..aaa6f7640 100644
--- a/deluge/core/torrent.py
+++ b/deluge/core/torrent.py
@@ -911,7 +911,7 @@ class Torrent(object):
try:
# Try to make the destination path if it doesn't exist
os.makedirs(dest)
- except OSError, e:
+ except OSError, ex:
log.error("Could not move storage for torrent %s since %s does "
"not exist and could not create the directory: %s",
self.torrent_id, dest, ex)