Skip to content

Commit

Permalink
fix: add loader to yaml.load so it works out of the box
Browse files Browse the repository at this point in the history
  • Loading branch information
YaKnee authored and Gadgetoid committed Nov 7, 2024
1 parent 3a5e10f commit 012c5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/upinout/upinout.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
""")

pinout = yaml.load(open("pinout.yaml").read())
pinout = yaml.load(open("pinout.yaml").read(), Loader=yaml.SafeLoader)
src = Image.open("upinout.png").convert("P")

width, height = lcd.dimensions()
Expand Down

0 comments on commit 012c5cd

Please sign in to comment.