feat(itho-wpu): populate IthoWPU object with nodeid, datatype

These are required to look up information in the database related to
your WPU version.
This commit is contained in:
Pim van den Berg 2021-02-12 17:25:41 +01:00
parent ff149eba6a
commit 1f8eca43f6
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ class IthoWPU():
self._q = queue.Queue()
self.no_cache = no_cache
self.cache = IthoWPUCache()
self.nodeid = self.get('getnodeid')
self.datatype = self.get('getdatatype')
def get(self, action):
if not self.no_cache: