mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-25 21:51:32 +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
|