From e509a681393d6c25514c310d6a19f17018c6421f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 11 Nov 2018 15:14:36 +0100 Subject: [PATCH] Determine absolut path for custom config folder When a relative custom config path is passed via commandline, the logic which decides if a plugin can be deleted from the plugin manager fails --- gajim/common/configpaths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/configpaths.py b/gajim/common/configpaths.py index 1bb3bbac6..b55a59185 100644 --- a/gajim/common/configpaths.py +++ b/gajim/common/configpaths.py @@ -69,7 +69,7 @@ def set_profile(profile: str) -> None: def set_config_root(config_root: str) -> None: - _paths.custom_config_root = config_root + _paths.custom_config_root = str(Path(config_root).resolve()) def init() -> None: