From: Bernie Innocenti Date: Sat, 13 Mar 2010 17:27:56 +0000 (-0300) Subject: Remove spurious slashes at end of page names X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6ae7c474be7cd0e1a92a0c2caa3be79167e7a8f6;p=geekigeeki.git Remove spurious slashes at end of page names --- diff --git a/geekigeeki.py b/geekigeeki.py index 317e9ca..54802f4 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -621,7 +621,7 @@ class WikiFormatter: class Page: def __init__(self, page_name): - self.page_name = page_name + self.page_name = page_name.rstrip('/'); self.msg_text = '' self.msg_type = 'error'