Selaa lähdekoodia

syntax error correction

Andrej Studen 6 vuotta sitten
vanhempi
commit
a8dc750f6d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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()