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():
86 86
         check = SMARTCheck(stream, args.disks_file)
87 87
 
88 88
         if check.data_parsed:
89
-            attribute_errors = check.check_attributes()
89
+            attribute_errors = check.check_attributes(ignore_attributes=args.ignore_attributes)
90 90
 
91 91
             if args.exclude_notices:
92 92
                 for k in [x for x, y in attribute_errors.items() if y.level == AttributeWarning.Notice]:

Loading…
Cancel
Save