Files
azul/front/oscar/foodgroups/popup.py
T
Athena Funderburg 6451bb9426 bug fixes and improvements
- aliases are now handled properly in ABCH
- removed final escargot leftovers (dev webconsole)
- OSCAR etc. logging was not at log level debug
- removed leftover debug code
2026-11-06 00:36:13 +00:00

15 lines
462 B
Python

import struct
from typing import Optional
from util.misc import Logger
from ..proto.common import system_message
from ..proto.snac import OSCARClient, OSCARContext, SNACMessage, Foodgroup, Subgroup
from ..proto.tlv import TLV, unmarshal_tlvs
def popup_display(self, alert_url: Optional[str], alert_txt: str):
response_msg = SNACMessage(0x0008, 0x0002, 0x0000, 0x00000000)
response_msg.write_bytes(system_message(alert_url, alert_txt))
return response_msg