remove useless parameter from _key_obj()
This commit is contained in:
@@ -115,7 +115,7 @@ class InfosG3P(Infos):
|
||||
if 'ratio' in row:
|
||||
result = round(result * row['ratio'], 2)
|
||||
|
||||
keys, level, unit, must_incr, new_val = self._key_obj(info_id)
|
||||
keys, level, unit, must_incr = self._key_obj(info_id)
|
||||
|
||||
if keys:
|
||||
name, update = self.update_db(keys, must_incr, result)
|
||||
|
||||
@@ -25,8 +25,6 @@ class SolarmanV5(Message):
|
||||
self.control = 0
|
||||
self.serial = 0
|
||||
self.snr = 0
|
||||
# self.await_conn_resp_cnt = 0
|
||||
# self.id_str = id_str
|
||||
self.db = InfosG3P()
|
||||
self.switch = {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user