Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
ralsina committed Jun 1, 2015
1 parent 1a80c80 commit 19a9085
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(os.path.dirname(filename), 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 19a9085

Please sign in to comment.