Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Jun 2, 2015
1 parent cd4198c commit 4c30653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/check.py
Expand Up @@ -238,7 +238,7 @@ def analyze(self, fname, find_sources=False, check_remote=False):
if url_type == 'rel_path':
if target.startswith('/'):
target_filename = os.path.abspath(
os.path.join(os.path.dirname(filename), unquote(target.lstrip('/'))))
os.path.join(self.site.config['OUTPUT_FOLDER'], unquote(target.lstrip('/'))))
else: # Relative path
target_filename = os.path.abspath(
os.path.join(os.path.dirname(filename), unquote(target)))
Expand Down

0 comments on commit 4c30653

Please sign in to comment.