From ad7f4eb4babd129a98a887511e291cd44664eaee Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Sat, 18 Apr 2015 01:09:59 -0400 Subject: [PATCH] Fix atom for autogenerated pages. --- geekigeeki.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/geekigeeki.py b/geekigeeki.py index f616311..7f54b4c 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -662,8 +662,9 @@ class Page: print(' ' \ % relative_url(name + '?a=edit', privileged=True)) - print(' ' \ - % relative_url(name + '?a=atom')) + if name: + print(' ' \ + % relative_url(name + '?a=atom')) print('') -- 2.25.1