Skip to content

Commit

Permalink
make code.css bundling work on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 10, 2015
1 parent 1a02a9b commit 4e99417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -7,6 +7,7 @@ Features
Bugfixes
--------

* Fix code.css bundling in Windows
* Listings in posts now work in Windows (Issue #1631)

New in v7.3.1
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/bundles.py
Expand Up @@ -97,7 +97,7 @@ def build_bundle(output, inputs):
files.append(os.path.join(dname, fname))
file_dep = [os.path.join(kw['output_folder'], fname)
for fname in files if
utils.get_asset_path(fname, self.site.THEMES, self.site.config['FILES_FOLDERS']) or fname == 'assets/css/code.css']
utils.get_asset_path(fname, self.site.THEMES, self.site.config['FILES_FOLDERS']) or fname == os.path.join('assets', 'css', 'code.css')]
# code.css will be generated by us if it does not exist in
# FILES_FOLDERS or theme assets. It is guaranteed that the
# generation will happen before this task.
Expand Down

0 comments on commit 4e99417

Please sign in to comment.