Explorar o código

Minor updates

Andrej Studen @ Win7 %!s(int64=6) %!d(string=hai) anos
pai
achega
76f0fb5a9d
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      labkeySlicerPythonExtension/slicerNetwork.py

+ 8 - 8
labkeySlicerPythonExtension/slicerNetwork.py

@@ -78,15 +78,15 @@ class labkeyURIHandler(slicer.vtkURIHandler):
                 raise
         local=open(dest,'wb')
         #make sure we are at the begining of the file
-        
-	#check file size
-	remote.seek(0,2)
-	sz=remote.tell()
-	print "Remote size: {0}".format(sz)
-	
-	remote.seek(0)
+
+	    #check file size
+	    remote.seek(0,2)
+	    sz=remote.tell()
+	    print "Remote size: {0}".format(sz)
+
+	    remote.seek(0)
         shutil.copyfileobj(remote,local)
-	print "Local size: {0}".format(local.tell())
+	    print "Local size: {0}".format(local.tell())
         local.close()
 
     def StageFileWrite(self,source,dest):