summaryrefslogtreecommitdiff
path: root/bin/update/upload_build_config.py
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-17 20:55:47 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-17 20:55:47 +0200
commitb6d3fa93befafdc139473290c2143145af55cc05 (patch)
treec30ffecadae0252469c8bfc38afbdc85e0e51dfc /bin/update/upload_build_config.py
parentd04ab636235d86be3571b8ffbee16183a5e30fb8 (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-xbin/update/upload_build_config.py2
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"]