diff --git a/gns3server/config.py b/gns3server/config.py index 07ad9ae2..7e8c3159 100644 --- a/gns3server/config.py +++ b/gns3server/config.py @@ -70,7 +70,7 @@ class Config: if self._profile: legacy_user_dir = os.path.join(appdata, appname, "profiles", self._profile) - versioned_user_dir = legacy_user_dir + versioned_user_dir = os.path.join(appdata, appname, version, "profiles", self._profile) else: legacy_user_dir = os.path.join(appdata, appname) versioned_user_dir = os.path.join(appdata, appname, version) @@ -107,7 +107,7 @@ class Config: if self._profile: legacy_user_dir = os.path.join(home, ".config", appname, "profiles", self._profile) - versioned_user_dir = legacy_user_dir + versioned_user_dir = os.path.join(home, ".config", appname, version, "profiles", self._profile) else: legacy_user_dir = os.path.join(home, ".config", appname) versioned_user_dir = os.path.join(home, ".config", appname, version)