Mercurial > hg > bitsyblog
diff bitsyblog/bitsyblog.py @ 48:3fe54d84b9be
fix error with single user blog mounted at /
author | k0s <k0scist@gmail.com> |
---|---|
date | Sat, 26 Dec 2009 13:08:10 -0500 |
parents | 4b01f5bc84e6 |
children | cf77bd13aad9 |
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py Tue Nov 24 21:05:03 2009 -0500 +++ b/bitsyblog/bitsyblog.py Sat Dec 26 13:08:10 2009 -0500 @@ -403,6 +403,8 @@ def link(self, request, path='', permanant=False): if isinstance(path, basestring): path = [ path ] + if not path: + path = [''] path = [ i.strip('/') for i in path ] if permanant: application_url = request.application_url