Explorar o código

syntax error correction

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

+ 1 - 1
labkeySlicerPythonExtension/slicerNetwork.py

@@ -201,7 +201,7 @@ class labkeyURIHandler(slicer.vtkURIHandler):
     def initRemote(self):
         if self.mode=="https":
             http_handler=urllib2.HTTPSHandler(context=self.ctx)
-        if self.mode="http":
+        if self.mode=="http":
             http_handler=urllib2.HTTPHandler()
         #cookie part
         cj=cookielib.CookieJar()