Get program name by prcode

This commit is contained in:
Andre Basche 2023-04-23 21:42:44 +02:00
parent d4c6ccdce3
commit 9ee5dbc956
7 changed files with 27 additions and 1 deletions

View file

@ -33,7 +33,7 @@ class HonAppliance:
try:
self._extra = importlib.import_module(
f"pyhon.appliances.{self.appliance_type.lower()}"
).Appliance()
).Appliance(self)
except ModuleNotFoundError:
self._extra = None