Fix dispatcher._setParamValue

Change-Id: Ibe00b4df7807dfbf1cc7c5de32331befc163bfb7
This commit is contained in:
Enrico Faulhaber
2016-08-31 11:38:31 +02:00
parent 4f42b32385
commit dc2d0a10aa

View File

@ -207,7 +207,7 @@ class Dispatcher(object):
if devobj is None:
return NoSuchDeviceError(devname)
pobj = getattr(devobj.PARAMS, pname, None)
pobj = devobj.PARAMS.get(pname, None)
if pobj is None:
return NoSuchParamError(devname, pname)
if pobj.readonly: