diff --git a/examples/upinout/upinout.py b/examples/upinout/upinout.py index a7b5db8..ae1925c 100755 --- a/examples/upinout/upinout.py +++ b/examples/upinout/upinout.py @@ -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()