# HG changeset patch # User k0s # Date 1261850890 18000 # Node ID 3fe54d84b9becb28ca1269b818f4a89426402084 # Parent f2b8204237dc3fc201b9ed312ef15b06745d5bc0 fix error with single user blog mounted at / diff -r f2b8204237dc -r 3fe54d84b9be bitsyblog/bitsyblog.py --- 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