Skip to content

Commit 7457539

Browse files
committed
Fixes #88
update changelog
1 parent 5b49c5d commit 7457539

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Version 1.4.0
66
- Fixed __getstate__ method in Device class. (issue [#86](https://github.com/truenas/py-SMART/issues/86)). Thanks @f18m
77
- Added DEVELOP.md file to help developers to get started with the project. (MR [#87](https://github.com/truenas/py-SMART/pull/87/files)). Thanks @ssteinerx
88
- Fixed listing devices on MACOS (issue [#84](https://github.com/truenas/py-SMART/issues/84)). Thanks @evanrich
9+
- Fixed get_selftest_result (issue [#88](https://github.com/truenas/py-SMART/issues/88)). Thanks @guanfeix
910
- **Breaking changes**
1011
- **smartctl.all**:
1112
- Officially removed support for python 3.7.

pySMART/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ def get_selftest_result(self, output=None):
791791
if (
792792
(len(self.tests) != _len) or
793793
(
794-
len == maxlog and
794+
_len == maxlog and
795795
(
796796
_first_entry.type != self.tests[0].type or
797797
_first_entry.hours != self.tests[0].hours or

0 commit comments

Comments
 (0)