浏览代码

syntax error correction

Andrej Studen 6 年之前
父节点
当前提交
a8dc750f6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()