From a34fd64f432119529671c9f5a7ffe255db2c1441 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 23 Sep 2018 02:29:51 +0200 Subject: [PATCH] Always expand user home path when loading project from CLI --- source/frontend/carla_shared.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/frontend/carla_shared.py b/source/frontend/carla_shared.py index 337254b0c..d99096072 100644 --- a/source/frontend/carla_shared.py +++ b/source/frontend/carla_shared.py @@ -616,6 +616,7 @@ def getInitialProjectFile(app, skipExistCheck = False): continue if arg in ("-n", "--n", "-no-gui", "--no-gui", "-nogui", "--nogui"): continue + arg = os.path.expanduser(arg) if skipExistCheck or os.path.exists(arg): return arg