Skip to content

Commit e56afe2

Browse files
committed
Better commenting
1 parent ad7b0ea commit e56afe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/is31fl3731_pillow_animated_gif.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@
2424
# uncomment line if you are using Adafruit 16x9 Charlieplexed PWM LED Matrix
2525
display = adafruit_is31fl3731.CharlieBonnet(i2c)
2626

27-
# Open the gif
27+
# Check that the gif was specified
2828
if len(sys.argv) < 2:
2929
print("No image file specified")
3030
print("Usage: python3 is31fl3731_pillow_animated_gif.py animated.gif")
3131
sys.exit()
3232

33+
# Open the gif
3334
image = Image.open(sys.argv[1])
3435

3536
# Make sure it's animated

0 commit comments

Comments
 (0)