1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

chore(example): fix image path in lv_example_snapshot_1.py

This commit is contained in:
Gabor Kiss-Vamosi 2022-01-05 13:38:37 +01:00
parent 6b82d7a356
commit 0a1d7d9ef2

View File

@ -18,7 +18,7 @@ label.set_text(" memory free:" + str(mem_free/1024) + " kB")
# Create an image from the png file # Create an image from the png file
try: try:
with open('../../assets/star.png','rb') as f: with open('../../assets/img_star.png','rb') as f:
png_data = f.read() png_data = f.read()
except: except:
print("Could not find star.png") print("Could not find star.png")