Skip to content

Commit f4249d1

Browse files
author
Kevin J Walters
committed
json_transforms argument on PyPortal constuctor is now json_transform (note singular) based on minor rework from adafruit/Adafruit_CircuitPython_PyPortal#39. adafruit#707
1 parent fb18276 commit f4249d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyPortal_NASA/nasa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def youtube_video_to_image(parsed_json):
4545
text_position=((5, 220), (5, 200)),
4646
text_color=(0xFFFFFF, 0xFFFFFF),
4747
text_maxlen=(50, 50), # cut off characters
48-
json_transforms=youtube_video_to_image,
48+
json_transform=youtube_video_to_image,
4949
image_json_path=IMAGE_LOCATION,
5050
image_resize=(320, 240),
5151
image_position=(0, 0))

0 commit comments

Comments
 (0)