Mercurial > hg > bitsyblog
changeset 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 | f2b8204237dc |
children | 4efeb3ecab7a |
files | bitsyblog/bitsyblog.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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