From 3c1995476da7a50b2a042c56fae7127e1dfff14b Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 9 Jan 2017 17:55:52 +0000 Subject: [#2953] Fix except variable typo --- deluge/core/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit