projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed invalid restriction
[wxWidgets.git]
/
wxPython
/
distrib
/
viewdocs.py
diff --git
a/wxPython/distrib/viewdocs.py
b/wxPython/distrib/viewdocs.py
index a30faee3388eda08bede3f0d574538b530e0c1eb..f909d18af69015da296daff79ee05411f3b7ecc4 100755
(executable)
--- a/
wxPython/distrib/viewdocs.py
+++ b/
wxPython/distrib/viewdocs.py
@@
-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):