update_manager: expand user on path

Signed-off-by: Eugene Rush <rush.zlo@gmail.com>
This commit is contained in:
Евгений Непомнящий 2021-03-03 00:28:00 +03:00 committed by Arksine
parent 46680f4cda
commit 0fa3c14f51
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class GitUpdater:
self.owner = "?" self.owner = "?"
self.repo_path = path self.repo_path = path
if path is None: if path is None:
self.repo_path = config.get('path') self.repo_path = os.path.expanduser(config.get('path'))
self.env = config.get("env", env) self.env = config.get("env", env)
dist_packages = None dist_packages = None
if self.env is not None: if self.env is not None: