From: Bernie Innocenti Date: Sat, 18 Apr 2015 05:09:59 +0000 (-0400) Subject: Fix atom for autogenerated pages. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ad7f4eb4babd129a98a887511e291cd44664eaee;p=geekigeeki.git Fix atom for autogenerated pages. --- 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('')