Pārlūkot izejas kodu

syntax error correction

Andrej Studen 6 gadi atpakaļ
vecāks
revīzija
a8dc750f6d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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()