update utils.py.

Signed-off-by: zhangcan42 <zhangcan42@h-partners.com>
This commit is contained in:
zhangcan42 2024-10-16 06:50:53 +00:00 committed by Gitee
parent 6829b7f82c
commit 8705d72e64
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -112,9 +112,9 @@ class ExtInit:
self.funs = []
def reg_event(self, evevt_id, funs):
self.funs.append([evevt_id, funs])
UPDATE_LOGGER.print_log(
'register event %s: %s' % (evevt_id, funs.__name__))
self.funs.append([evevt_id, funs])
UPDATE_LOGGER.print_log(
'register event %s: %s' % (evevt_id, funs.__name__))
def invoke_event(self, evevt_id):
UPDATE_LOGGER.print_log(self.funs)