Remove spurious slashes at end of page names
authorBernie Innocenti <bernie@codewiz.org>
Sat, 13 Mar 2010 17:27:56 +0000 (14:27 -0300)
committerBernie Innocenti <bernie@codewiz.org>
Sat, 13 Mar 2010 17:27:56 +0000 (14:27 -0300)
geekigeeki.py

index 317e9ca64a78e50649a3a2549b64a9ba201bc07c..54802f40e31930c1840b48461f297835b95d9053 100755 (executable)
@@ -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'