From a5fc7891a604f1bc99d8d68a96e542a1ef08c46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8D=E3=81=A8=20=E3=83=9F=E3=82=BA=E3=82=AD?= =?UTF-8?q?=E3=83=88?= Date: Wed, 23 Oct 2019 19:57:47 +0900 Subject: [PATCH] build: Addressed file not found --- build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.py b/build.py index cb07bc5d0..595eb2e81 100755 --- a/build.py +++ b/build.py @@ -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: