From: Uwe Hermann Date: Wed, 24 Apr 2013 21:43:56 +0000 (+0200) Subject: python: sr_config's value field is called 'data'. X-Git-Tag: dsupstream~65 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=57dd5e63ecc6cad49f31f94ed0ef9a5336330c4a;p=libsigrok.git python: sr_config's value field is called 'data'. --- diff --git a/bindings/python/sigrok/core/classes.py b/bindings/python/sigrok/core/classes.py index e490b34d..da05dd12 100644 --- a/bindings/python/sigrok/core/classes.py +++ b/bindings/python/sigrok/core/classes.py @@ -124,7 +124,7 @@ class Driver(object): key = getattr(ConfigKey, name.upper()) src = sr_config() src.key = key.id - src.value = python_to_gvariant(value) + src.data = python_to_gvariant(value) options.append(src.this) option_list = python_to_gslist(options) device_list = sr_driver_scan(self.struct, option_list)