summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-06-20 17:17:47 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-06-20 17:17:47 +0200
commit56ed29b85429010f5860cd62ad1b50002b11c6b0 (patch)
treec506767a3cd0175909de3063d29d6a6e0e9635a1 /pyLoadCore.py
parentworkaround for ExternalScripts.py package location (diff)
downloadpyload-56ed29b85429010f5860cd62ad1b50002b11c6b0.tar.xz
fix fix fix
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 906f59cae..3b7cbd60c 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -693,7 +693,7 @@ class ServerMethods():
def upload_container(self, filename, type, content):
th = NamedTemporaryFile(mode="w", suffix="." + type, delete=False)
- th.write(content)
+ th.write(str(content))
path = th.name
th.close()
pid = self.core.file_list.packager.addNewPackage(filename)