diff --git a/ereuse_devicehub/parser/parser.py b/ereuse_devicehub/parser/parser.py index 95a0e86d..cac097af 100644 --- a/ereuse_devicehub/parser/parser.py +++ b/ereuse_devicehub/parser/parser.py @@ -464,8 +464,9 @@ class ParseSnapshotLsHw: def get_data_storage(self): + # import pdb; pdb.set_trace() for sm in self.smart: - if sm.get('smartctl', {}).get('exit_status') != 0: + if sm.get('smartctl', {}).get('exit_status') == 1: continue model = sm.get('model_name') manufacturer = None