Parcourir la source

syntax error correction

Andrej Studen il y a 6 ans
Parent
commit
a8dc750f6d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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()