Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle errors regarding temperature threshold (#89)
If no custom threshold is set we need something to compare to. If the custom threshold is not a valid value we need to catch ValueError. If the custom threshold is lower than zero we need to set some value, too. For all these cases, we use self.THRESHOLD_TEMP as value for temp_thresh. This fixes issue #87.
- Loading branch information