summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Container.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Container.py')
-rw-r--r--module/plugins/internal/Container.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/Container.py b/module/plugins/internal/Container.py
index c0135fb1f..c7a6828c7 100644
--- a/module/plugins/internal/Container.py
+++ b/module/plugins/internal/Container.py
@@ -56,8 +56,9 @@ class Container(Crypter):
try:
with open(self.pyfile.url, "wb") as f:
f.write(content)
+
except IOError, e:
- self.fail(str(e))
+ self.fail(str(e)) #@TODO: Remove `str` in 0.4.10
else:
self.pyfile.name = os.path.basename(self.pyfile.url)