Mercurial > libervia-web
comparison libervia/pages/lists/view_item/page_meta.py @ 1506:ce879da7fcf7
server: fix `on_signal` callback
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 23 Mar 2023 17:50:54 +0100 |
parents | 3a34d78f2717 |
children | 106bae41f5c8 |
comparison
equal
deleted
inserted
replaced
1505:a169cbc315f0 | 1506:ce879da7fcf7 |
---|---|
41 | 41 |
42 | 42 |
43 async def prepare_render(self, request): | 43 async def prepare_render(self, request): |
44 data = self.getRData(request) | 44 data = self.getRData(request) |
45 template_data = request.template_data | 45 template_data = request.template_data |
46 session = self.host.getSessionData(request, session_iface.ISATSession) | 46 session = self.host.getSessionData(request, session_iface.IWebSession) |
47 service, node, item_id = ( | 47 service, node, item_id = ( |
48 data.get("service", ""), | 48 data.get("service", ""), |
49 data.get("node", ""), | 49 data.get("node", ""), |
50 data["item_id"], | 50 data["item_id"], |
51 ) | 51 ) |