Fix long-polling request for project notifications.

This commit is contained in:
grossmj committed 2019-02-23 21:08:52 +07:00
1 parent 10702f87bc
commit 7fe8f7e716
10 files changed
+82 -64

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ class Drawing:
data = self.__json__()
if not svg_changed:
del data["svg"]
self._project.controller.notification.project_emit("drawing.updated", data)
self._project.emit_notification("drawing.updated", data)
self._project.dump()
def __json__(self, topology_dump=False):