mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
parent
bda36081a9
commit
3070a68273
@ -1556,7 +1556,7 @@ class Router(BaseNode):
|
|||||||
try:
|
try:
|
||||||
startup_config_path = os.path.join(self._working_directory, startup_config)
|
startup_config_path = os.path.join(self._working_directory, startup_config)
|
||||||
if os.path.exists(startup_config_path):
|
if os.path.exists(startup_config_path):
|
||||||
with open(startup_config_path) as f:
|
with open(startup_config_path, encoding="utf-8") as f:
|
||||||
self._startup_config_content = f.read()
|
self._startup_config_content = f.read()
|
||||||
else:
|
else:
|
||||||
self._startup_config_content = ''
|
self._startup_config_content = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user