mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-07-04 07:56:23 +00:00
Project-wide refactor of things named Component* to EventHandler*
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
from transitions import Machine
|
||||
|
||||
import component_connector
|
||||
import event_handler_connector
|
||||
|
||||
|
||||
class SQLInjectionFSM:
|
||||
@ -26,7 +26,7 @@ class SQLInjectionFSM:
|
||||
|
||||
def forward_message(self, event_data):
|
||||
message = event_data.kwargs.get('message')
|
||||
component_connector.send_message(message)
|
||||
event_handler_connector.send_message(message)
|
||||
|
||||
|
||||
fsm = SQLInjectionFSM()
|
||||
|
Reference in New Issue
Block a user