Преглед на файлове

Making sure binary files are uploaded

Andrej Studen преди 5 години
родител
ревизия
7e0e7d3423
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      cardiacSPECT/cardiacSPECT.py

+ 1 - 1
cardiacSPECT/cardiacSPECT.py

@@ -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())