mirror of git://git.sysmocom.de/ofono
test: fix parameter type error
in 'test-advice-of-charge'-script
This commit is contained in:
parent
beb72c921d
commit
b3cd0b866b
|
@ -73,7 +73,7 @@ if __name__ == "__main__":
|
|||
else:
|
||||
try:
|
||||
if property == 'AccumulatedCallMeterMaximum':
|
||||
newvalue = int(newvalue)
|
||||
newvalue = dbus.UInt32(newvalue)
|
||||
elif property == 'PricePerUnit':
|
||||
newvalue = float(newvalue)
|
||||
cm.SetProperty(property, newvalue, pin)
|
||||
|
|
Loading…
Reference in New Issue