From af3c9b360e129033e1129c785c1ed2daa313285c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 14 Aug 2014 16:23:47 -0700 Subject: [PATCH] gallery.py: Keyword text argument the directory-header crumbs 'Gallery' is the text, not the query, for that link ;). --- posts/gallery/gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2