1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Fix server configuration path

This commit is contained in:
Julien Duponchelle 2015-02-02 10:49:46 +01:00
parent a3a304bd12
commit 21020a2753

View File

@ -66,6 +66,7 @@ class Config(object):
# 4: /etc/xdg/GNS3.conf
# 5: server.conf in the current working directory
appname = "gns3.net"
home = os.path.expanduser("~")
self._cloud_file = os.path.join(home, ".config", appname, "cloud.conf")
filename = "server.conf"
@ -99,7 +100,7 @@ class Config(object):
parsed_files = self._config.read(self._files)
if not parsed_files:
log.warning("no configuration file could be found or read")
log.warning("No configuration file could be found or read")
def get_default_section(self):
"""