Skip to content

Commit

Permalink
fix #1651 -- add missing / in BASE_URL
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 5, 2015
1 parent aceae8d commit b294110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -14,6 +14,7 @@ Features
Bugfixes
--------

* Really add missing trailing slashes in ``BASE_URL`` (Issue #1651)
* Check if files exists before adding them as post-list dependencies
(Issue #1646)
* Fix build command in ``nikola auto`` (Issue #1641)
Expand Down
1 change: 1 addition & 0 deletions nikola/nikola.py
Expand Up @@ -616,6 +616,7 @@ def __init__(self, **config):
# BASE_URL should *always* end in /
if self.config['BASE_URL'] and self.config['BASE_URL'][-1] != '/':
utils.LOGGER.warn("Your BASE_URL doesn't end in / -- adding it, but please fix it in your config file!")
self.config['BASE_URL'] += '/'

# todo: remove in v8
if not isinstance(self.config['DEPLOY_COMMANDS'], dict):
Expand Down

0 comments on commit b294110

Please sign in to comment.