diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-17 20:55:47 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-17 20:55:47 +0200 |
commit | b6d3fa93befafdc139473290c2143145af55cc05 (patch) | |
tree | c30ffecadae0252469c8bfc38afbdc85e0e51dfc /bin/update/upload_build_config.py | |
parent | d04ab636235d86be3571b8ffbee16183a5e30fb8 (diff) |
updater: expand ~ to $HOME in config path of uploader script
Change-Id: I8c5ce1a2c256fbaf046fbe73e5574d48cd3f3a7a
Diffstat (limited to 'bin/update/upload_build_config.py')
-rwxr-xr-x | bin/update/upload_build_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update/upload_build_config.py b/bin/update/upload_build_config.py index 3267f021b8e3..9a87661eee73 100755 --- a/bin/update/upload_build_config.py +++ b/bin/update/upload_build_config.py @@ -12,7 +12,7 @@ def main(argv): updater_config = sys.argv[2] config = configparser.ConfigParser() - config.read(updater_config) + config.read(os.path.expanduser(updater_config)) user = config["Updater"]["User"] password = config["Updater"]["Password"] |