Skip to content
Snippets Groups Projects
Commit f8717516 authored by sveseli's avatar sveseli
Browse files

python 3 requires conversion to str

parent 60a81d36
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ class ExperimentDsApi(DsRestApi):
response = self.sendSessionRequest(url=url, method='POST', rawOutput=True)
fileName = os.path.basename(experimentFilePath)
filePath = os.path.join(destDirectory, fileName)
open(filePath, 'w').write(response)
open(filePath, 'w').write(str(response))
return FileMetadata({'experimentName' : experimentName, 'experimentFilePath' : experimentFilePath, 'fileName' : fileName, 'localFilePath' : filePath})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment