Skip to content

Commit

Permalink
Removing TODO as it's done
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed May 13, 2016
1 parent 9faca43 commit 68f22b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions greenpithumb/humidity_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def get_humidity_level(self):
dht11_result = self._dht11.read()
error_code = dht11_result.error_code

# TODO(JeetShetty): Replace error codes with constants from dht11
# module
if error_code != dht11.DHT11Result.ERR_NO_ERROR:
if error_code == dht11.DHT11Result.ERR_MISSING_DATA:
raise dht11_exceptions.MissingDataError(
Expand Down

0 comments on commit 68f22b3

Please sign in to comment.