Skip to content

Commit 13ea8b3

Browse files
author
Roy
committed
update utils mod name
1 parent c65ad59 commit 13ea8b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • wecube_plugins_itsdangerous/apps/processor

wecube_plugins_itsdangerous/apps/processor/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def script_check(self, data, boxes=None):
406406
break
407407
counter += 1
408408
text_output = table.draw()
409-
return {'text': utils.truncate_for_text(text_output), 'data': results}
409+
return {'text': plugin_utils.truncate_for_text(text_output), 'data': results}
410410

411411
def plugin_check(self, data):
412412
'''run plugin params check
@@ -479,7 +479,7 @@ def plugin_check(self, data):
479479
break
480480
counter += 1
481481
text_output = table.draw()
482-
return {'text': utils.truncate_for_text(text_output), 'data': results}
482+
return {'text': plugin_utils.truncate_for_text(text_output), 'data': results}
483483

484484
def check(self, data, boxes=None, without_subject_test=False, handover_match_params=None):
485485
'''check script & param with boxes, return dangerous contents & rule name

0 commit comments

Comments
 (0)