Skip to content
Permalink
Browse files
fix #1651 -- add missing / in BASE_URL
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 5, 2015
1 parent aceae8d commit b2941103306b1a0cd8100bad7ed73e31acb56392
Showing with 2 additions and 0 deletions.
  1. +1 −0 CHANGES.txt
  2. +1 −0 nikola/nikola.py
@@ -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)
@@ -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):

0 comments on commit b294110

Please sign in to comment.