mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-15 05:57:18 +00:00
9 lines
263 B
Python
9 lines
263 B
Python
from tfw.internals.networking import Intent
|
|
|
|
from .event_handler import EventHandler
|
|
|
|
|
|
class ControlEventHandler(EventHandler): # pylint: disable=abstract-method
|
|
def _validate_message(self, message):
|
|
return message.get('intent') != Intent.EVENT.value
|