diff options
author | mkaay <mkaay@mkaay.de> | 2010-06-20 17:17:47 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-06-20 17:17:47 +0200 |
commit | 56ed29b85429010f5860cd62ad1b50002b11c6b0 (patch) | |
tree | c506767a3cd0175909de3063d29d6a6e0e9635a1 /pyLoadCore.py | |
parent | workaround for ExternalScripts.py package location (diff) | |
download | pyload-56ed29b85429010f5860cd62ad1b50002b11c6b0.tar.xz |
fix fix fix
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 2 |
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) |