Fix printing of MED initialize errors (e.g. no generators connected)
This commit is contained in:
parent
ed41b19998
commit
8255519bba
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class MeterFeederWrapper:
|
|||
# Initialize Meter Feeder
|
||||
result = self._meterfeeder.MF_Initialize(self._medErrorReason)
|
||||
if (len(self._medErrorReason.value) > 0):
|
||||
print(self._medErrorReason)
|
||||
print(self._medErrorReason.value)
|
||||
exit(result)
|
||||
|
||||
def deviceIds(self, returnAsList):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue