aboutsummaryrefslogtreecommitdiff
path: root/examples/interface/set_feature_value.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/interface/set_feature_value.py')
-rw-r--r--examples/interface/set_feature_value.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/interface/set_feature_value.py b/examples/interface/set_feature_value.py
index a9f32da..4eca205 100644
--- a/examples/interface/set_feature_value.py
+++ b/examples/interface/set_feature_value.py
@@ -20,6 +20,7 @@ if __name__ == '__main__':
print('"{}" was set to "{}"'.format(feature.name, feature.value))
# alternatively the feature value can be set as an object attribute
+ # note that this doesn't raise an error if the feature name doesn't exist
interface.InterfacePingPace = 3
interface.close()