@@ -123,12 +123,12 @@ def cell_voltage(self):
123123 def cell_percent (self ):
124124 """Returns percentage of cell capacity"""
125125 return self ._read_word (LC709203F_CMD_CELLITE ) / 10
126-
126+
127127 @property
128128 def cell_temperature (self ):
129129 """Returns the temperature of the cell"""
130130 return self ._read_word (LC709203F_CMD_CELLTEMPERATURE ) / 10 - 273.15
131-
131+
132132 @cell_temperature .setter
133133 def cell_temperature (self , value ):
134134 """Sets the temperature in the LC709203F"""
@@ -173,28 +173,28 @@ def pack_size(self, size):
173173 if not PackSize .is_valid (size ):
174174 raise AttributeError ("pack_size must be a PackSize" )
175175 self ._write_word (LC709203F_CMD_APA , size )
176-
176+
177177 @property
178178 def thermistor_bconstant (self ):
179179 """Returns the thermistor B-constant"""
180180 return self ._read_word (LC709203F_CMD_THERMISTORB )
181-
181+
182182 @thermistor_bconstant .setter
183- def thermistor_bconstant (self ,bconstant ):
183+ def thermistor_bconstant (self , bconstant ):
184184 """Sets the thermistor B-constant"""
185185 self ._write_word (LC709203F_CMD_THERMISTORB , bconstant )
186-
186+
187187 @property
188188 def thermistor_enable (self ):
189189 """Returns the current temperature source"""
190190 return self ._read_word (LC709203F_CMD_STATUSBIT )
191-
191+
192192 @thermistor_enable .setter
193- def thermistor_enable (self ,status ):
193+ def thermistor_enable (self , status ):
194194 """Sets the temperature source to Tsense"""
195195 if not status in (True , False ):
196196 raise AttributeError ("thermistor_enable must be True or False" )
197- self ._write_word (LC709203F_CMD_STATUSBIT ,status )
197+ self ._write_word (LC709203F_CMD_STATUSBIT , status )
198198
199199 # pylint: disable=no-self-use
200200 def _generate_crc (self , data ):
0 commit comments