if basePath is empty use '.'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c3eeb758b7
commit
ed5f4c7849
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user