Skip to content
Permalink
Browse files

Just being sure (thanks @ralsina).

  • Loading branch information...
felixfontein committed Sep 22, 2015
1 parent f173fca commit d895162a8421a42e4b9643a66f025f1818255428
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/utils.py
@@ -1001,7 +1001,7 @@ def get_asset_path(path, themes, files_folders={'files': ''}, _themes_dir='theme
if os.path.isfile(candidate):
return candidate
for src, rel_dst in files_folders.items():
relpath = os.path.relpath(path, rel_dst)
relpath = os.path.normpath(os.path.relpath(path, rel_dst))
if not relpath.startswith('..' + os.path.sep):
candidate = os.path.abspath(os.path.join(src, relpath))
if os.path.isfile(candidate):

0 comments on commit d895162

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.