Skip to content

Commit

Permalink
build: Addressed file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
RealAkito authored and topjohnwu committed Oct 23, 2019
1 parent 3eb9633 commit a5fc789
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ def load_config(args):
config['keyStore'] = 'release-key.jks'

# Load prop file
if not os.path.exists(args.config):
error(f'Please make sure {args.config} existed')

with open(args.config, 'r') as f:
for line in [l.strip(' \t\r\n') for l in f]:
if line.startswith('#') or len(line) == 0:
Expand Down

0 comments on commit a5fc789

Please sign in to comment.