Skip to content

Commit 10a63bc

Browse files
committed
android fixes
1 parent 81db326 commit 10a63bc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ def get_options():
172172
args[d] = parse_bool_arg(args[d])
173173
# any program given on the command line overrides that in config files
174174
args['program'] = '' or arg_program
175+
# add missing help option
176+
if not args.has_key('help'):
177+
args['help'] = None
175178
return args
176179

177180
def default_args(conf_dict):

pcbasic

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def main():
2525
if plat.system == 'Android':
2626
# resume from existing directory (or clear it if we're not resuming)
2727
if not config.options['resume'] and os.path.exists(temp_dir):
28-
shutil.rmtree(temp_dir)
29-
if not os.path.exists(temp_dir):
30-
os.mkdir(temp_dir)
28+
shutil.rmtree(plat.temp_dir)
29+
if not os.path.exists(plat.temp_dir):
30+
os.mkdir(plat.temp_dir)
3131
# set up the logging system
3232
prepare_logging()
3333
if config.options['version']:

0 commit comments

Comments
 (0)