Skip to content

Commit bd986c8

Browse files
committed
Update
1 parent e7730eb commit bd986c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/operate/get-started/other-hardware/hello-world-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Add the following code to the `validate()` function to throw an error if `image_
331331
```python {class="line-numbers linkable-line-numbers" data-start="46"}
332332
# Check that a path to get an image was configured
333333
fields = config.attributes.fields
334-
if not "image_path" in fields:
334+
if "image_path" not in fields:
335335
raise Exception("Missing image_path attribute.")
336336
elif not fields["image_path"].HasField("string_value"):
337337
raise Exception("image_path must be a string.")

0 commit comments

Comments
 (0)