summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-25 22:41:08 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-25 22:41:08 +0100
commita52a837af18e73b9ba409ee4777f3e21ff841de9 (patch)
treecce5d86ff16034be2cff929a5baad44d60782f43 /module/plugins/Plugin.py
parentgreat fixes http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef0134872dea109... (diff)
downloadpyload-a52a837af18e73b9ba409ee4777f3e21ff841de9.tar.xz
backward comp. fixes
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index ac66d6243..23c9bbf6d 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -300,7 +300,7 @@ class Plugin(object):
makedirs(join("tmp", self.__name__))
f = open(join("tmp", self.__name__, "%s_line%s.dump.html" % (frame.f_back.f_code.co_name, frame.f_back.f_lineno)), "wb")
- f.write(res)
+ f.write(res.encode("utf8"))
f.close()
return res