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):
args = ['',
'--cache='+basePath,
os.path.join(basePath, 'wx.zip'),
- os.path.join(basePath, 'ogl.zip'),
]
# add any other .zip files found