Browse Source

Actually pass command line argument --ignore-attributes to check_attributes() call (see https://github.com/ercpe/smart-check/issues/4)

tags/0.4.2
Johann Schmitz 1 year ago
parent
commit
b2789737e6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      smartcheck/__main__.py

+ 1
- 1
smartcheck/__main__.py View File

@@ -86,7 +86,7 @@ def main():
check = SMARTCheck(stream, args.disks_file)

if check.data_parsed:
attribute_errors = check.check_attributes()
attribute_errors = check.check_attributes(ignore_attributes=args.ignore_attributes)

if args.exclude_notices:
for k in [x for x, y in attribute_errors.items() if y.level == AttributeWarning.Notice]:

Loading…
Cancel
Save