diff --git a/pelican/utils.py b/pelican/utils.py index 44abb1bd..73abd358 100644 --- a/pelican/utils.py +++ b/pelican/utils.py @@ -317,7 +317,7 @@ def path_to_url(path): if os.sep == '/': return path else: - '/'.join(split_all(path)) + return '/'.join(split_all(path)) def truncate_html_words(s, num, end_text='...'):