]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/viewdocs.py
in unescape add normal characters in addition to unescaped characters :)
[wxWidgets.git] / wxPython / distrib / viewdocs.py
index a30faee3388eda08bede3f0d574538b530e0c1eb..f909d18af69015da296daff79ee05411f3b7ecc4 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):