From aecd7dedba8aa4449de3792c24cb889ada59f162 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 2 Feb 2015 13:13:56 -0700 Subject: [PATCH] Fixes app name for the config file on Linux. --- gns3server/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gns3server/config.py b/gns3server/config.py index 072785a4..deac3916 100644 --- a/gns3server/config.py +++ b/gns3server/config.py @@ -79,7 +79,10 @@ class Config(object): # 4: /etc/xdg/GNS3.conf # 5: server.conf in the current working directory - appname = "gns3.net" + if sys.platform.startswith("darwin"): + appname = "gns3.net" + else: + appname = "GNS3" home = os.path.expanduser("~") self._cloud_file = os.path.join(home, ".config", appname, "cloud.conf") filename = "server.conf"