mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
Fix small errors like unhandled exceptions etc.
This commit is contained in:
1 parent
0aa9ab53d1
commit
17d657c919
12 files changed
+37
-26
No files matched your search
@@ -175,7 +175,7 @@ class Node:
|
||||
if not os.path.isabs(path):
|
||||
path = os.path.join(self.project.controller.configs_path(), path)
|
||||
try:
|
||||
with open(path) as f:
|
||||
with open(path, encoding="utf-8") as f:
|
||||
return f.read()
|
||||
except OSError:
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user