diff options
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) |