mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Fix server configuration path
This commit is contained in:
parent
a3a304bd12
commit
21020a2753
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user