mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Update package versions.
Do not use Path in schemas (causes issues with empty paths). Change how notifications are handled. Run tests with Python 3.9
This commit is contained in:
1 parent
bf19da1dc2
commit
acc5c7ebfa
26 files changed
+121
-134
No files matched your search
@@ -404,7 +404,6 @@ class BaseManager:
|
||||
except PermissionError:
|
||||
raise ComputeForbiddenError("File '{}' cannot be accessed".format(path))
|
||||
|
||||
|
||||
def get_abs_image_path(self, path, extra_dir=None):
|
||||
"""
|
||||
Get the absolute path of an image
|
||||
@@ -415,7 +414,7 @@ class BaseManager:
|
||||
:returns: file path
|
||||
"""
|
||||
|
||||
if not path:
|
||||
if not path or path == ".":
|
||||
return ""
|
||||
orig_path = path
|
||||
|
||||
|
||||
Reference in new issue
Block a user