From: W. Trevor King Date: Thu, 14 Aug 2014 23:23:47 +0000 (-0700) Subject: gallery.py: Keyword text argument the directory-header crumbs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af3c9b360e129033e1129c785c1ed2daa313285c;p=blog.git gallery.py: Keyword text argument the directory-header crumbs 'Gallery' is the text, not the query, for that link ;). --- diff --git a/posts/gallery/gallery.py b/posts/gallery/gallery.py index 760768f..3634690 100755 --- a/posts/gallery/gallery.py +++ b/posts/gallery/gallery.py @@ -629,7 +629,7 @@ class CGIGalleryServer (object): for i,c in enumerate(crumbs): if i < len(crumbs)-1: if i == 0: - links[i] = self._link(self._base_path, 'Gallery') + links[i] = self._link(path=self._base_path, text='Gallery') else: relpath = '/'.join(crumbs[1:i+1]) + '/' fullpath = _os_path.join(self._base_path, relpath)