Skip to content

Commit aa59c04

Browse files
committed
Fixed scanning
1 parent 3f98127 commit aa59c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nessrest/ness6rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def _policy_add_audit(self, category, filename):
390390
method="put", extra=audit)
391391

392392
################################################################################
393-
def plugin_info(self, plugins):
393+
def plugins_info(self, plugins):
394394
'''
395395
Gather information on plugins for reporting. This also ensures that the
396396
plugin exists, and exits if it does not.
@@ -411,7 +411,7 @@ def plugin_info(self, plugins):
411411
sys.exit(1)
412412

413413
################################################################################
414-
def _enable_plugins(self, plugins):
414+
def _enable_plugins(self, plugins=[]):
415415
'''
416416
Disable all of the families, and then enable plugins that you need. This
417417
builds the entire "plugins" object, and can be very large for some

0 commit comments

Comments
 (0)