]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/viewdocs.py
fixed deadlock when calling wxPostEvent() from worker thread
[wxWidgets.git] / wxPython / distrib / viewdocs.py
index a30faee3388eda08bede3f0d574538b530e0c1eb..01151c1902d1519b94fbca58c9f0687a8b37a8de 100755 (executable)
@@ -11,6 +11,9 @@ if __name__ == '__main__':
     basePath = os.path.dirname(sys.argv[0])
 else:
     basePath = os.path.dirname(__file__)
+if not basePath:
+    basePath = '.'
+
 
 # test for write access
 if os.access(basePath, os.W_OK):
@@ -19,7 +22,6 @@ if os.access(basePath, os.W_OK):
     args = ['',
         '--cache='+basePath,
         os.path.join(basePath, 'wx.zip'),
-        os.path.join(basePath, 'ogl.zip'),
         ]
 
     # add any other .zip files found