|
@@ -709,7 +709,7 @@ class cardiacSPECTLogic(ScriptedLoadableModuleLogic):
|
|
|
file=os.path.join(localPath,fileName)
|
|
|
slicer.util.saveNode(node,file)
|
|
|
print("Stored to: {}").format(file)
|
|
|
- f=open(file)
|
|
|
+ f=open(file,'rb')
|
|
|
remoteFile=labkeyPath+'/'+fileName
|
|
|
self.pd.net.put(remoteFile,f.read())
|
|
|
|