gallery.py: Fix is_video to use VIDEO_EXTENSIONS
authorW. Trevor King <wking@tremily.us>
Sat, 21 Feb 2015 19:55:57 +0000 (11:55 -0800)
committerW. Trevor King <wking@tremily.us>
Sat, 21 Feb 2015 19:59:50 +0000 (11:59 -0800)
commite1c4530223ad481fdb2d88b283052a1b2bcac0b5
tree0febf537be5ea986411cfbdea638269d99577800
parenta09c7db01e85f53eef5a7279fb996fbb612b025c
gallery.py: Fix is_video to use VIDEO_EXTENSIONS

Avoid:

  HTML page URLs must end with a slash

when the script doesn't recognize a video URL as a cacheable page.  It
looks like this bug snuck in way back in ebd0292d (Allow gallery.py to
serve original images, 2012-08-25).
posts/gallery/gallery.py