From: W. Trevor King Date: Wed, 17 Oct 2012 22:42:27 +0000 (-0400) Subject: gallery.py: add caption title/alt to images. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=058201f926e7c161415797722a1846f7f3436c38;p=blog.git gallery.py: add caption title/alt to images. --- diff --git a/posts/gallery/gallery.py b/posts/gallery/gallery.py index 8c7da07..ecdd85f 100755 --- a/posts/gallery/gallery.py +++ b/posts/gallery/gallery.py @@ -465,7 +465,17 @@ class CGIGalleryServer (object): image_path,image_url = self._thumb(image, **kwargs) else: image_url = image - return ''.format(image_url) + sections = ['') + return ' '.join(sections) def _image_page(self, image): return image_base(image) + '/'