Skip to content

Commit

Permalink
Not sure why this was in the code... should fix adding new sensors. #219
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Dec 2, 2018
1 parent 425b7e9 commit d5b4f98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions terrariumSensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,7 @@ def get_address(self):
return self.sensor_address

def set_address(self,address):
if isinstance(address, str):
self.sensor_address = address
self.sensor_address = address

def set_name(self,name):
self.name = str(name)
Expand Down

0 comments on commit d5b4f98

Please sign in to comment.