(20241209) Many changes to the SMS section.

This commit is contained in:
2024-12-09 19:38:47 +05:30
parent 725d68f195
commit d10b156c0b
14 changed files with 1406 additions and 250 deletions
+1 -1
View File
@@ -606,10 +606,10 @@ def get_session_info(
if hasattr(current_app, "printer"): getattr(current_app, "printer")(exception)
# We note down whatever we got:
session_info = summarize_variable(session_info, expand = True, sensitive_keys = sensitive_keys)
if session_info and isinstance(get, str):
for subkey in get.split("."):
session_info = session_info.get(subkey, {}) if isinstance(session_info, dict) else {}
session_info = summarize_variable(session_info, expand = True, sensitive_keys = sensitive_keys)
kwargs["session_info"] = session_info
# If no session info was found, but it was mandatory: