mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix long-polling request for project notifications.
This commit is contained in:
1 parent
10702f87bc
commit
7fe8f7e716
10 files changed
+82
-64
No files matched your search
@@ -122,7 +122,7 @@ class Snapshot:
|
||||
except (OSError, PermissionError) as e:
|
||||
raise aiohttp.web.HTTPConflict(text=str(e))
|
||||
await project.open()
|
||||
self._project.controller.notification.project_emit("snapshot.restored", self.__json__())
|
||||
self._project.emit_notification("snapshot.restored", self.__json__())
|
||||
return self._project
|
||||
|
||||
def __json__(self):
|
||||
|
||||
Reference in new issue
Block a user