mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-23 11:17:01 -04:00
Get program name by prcode
This commit is contained in:
parent
d4c6ccdce3
commit
9ee5dbc956
7 changed files with 27 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue