diff libervia/pages/g/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 6f342b36871c
children 106bae41f5c8
line wrap: on
line diff
--- a/libervia/pages/g/page_meta.py	Sat Mar 04 18:37:17 2023 +0100
+++ b/libervia/pages/g/page_meta.py	Thu Mar 23 17:50:54 2023 +0100
@@ -22,8 +22,8 @@
     except IndexError:
         self.pageError(request)
 
-    sat_session, guest_session = self.host.getSessionData(
-        request, session_iface.ISATSession, session_iface.ISATGuestSession
+    web_session, guest_session = self.host.getSessionData(
+        request, session_iface.IWebSession, session_iface.ISATGuestSession
     )
     current_id = guest_session.id
 
@@ -34,13 +34,13 @@
             ).format(old_id=current_id, new_id=invitation_id)
         )
         self.host.purgeSession(request)
-        sat_session, guest_session = self.host.getSessionData(
-            request, session_iface.ISATSession, session_iface.ISATGuestSession
+        web_session, guest_session = self.host.getSessionData(
+            request, session_iface.IWebSession, session_iface.ISATGuestSession
         )
         current_id = None  # FIXME: id not reset here
         profile = None
 
-    profile = sat_session.profile
+    profile = web_session.profile
     if profile is not None and current_id is None:
         log.info(
             _(
@@ -48,8 +48,8 @@
             ).format(profile=profile)
         )
         self.host.purgeSession(request)
-        sat_session, guest_session = self.host.getSessionData(
-            request, session_iface.ISATSession, session_iface.ISATGuestSession
+        web_session, guest_session = self.host.getSessionData(
+            request, session_iface.IWebSession, session_iface.ISATGuestSession
         )
         profile = None