mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
parent
bda36081a9
commit
3070a68273
@ -1556,7 +1556,7 @@ class Router(BaseNode):
|
||||
try:
|
||||
startup_config_path = os.path.join(self._working_directory, startup_config)
|
||||
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()
|
||||
else:
|
||||
self._startup_config_content = ''
|
||||
|
Loading…
Reference in New Issue
Block a user