Skip to content
Browse files

source → source_path

  • Loading branch information
Kwpolska committed Jan 8, 2017
1 parent bb3fd70 commit cc6bd5290661ad30cef7f202ffdcd69b92ed540e
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/compile/rest/
@@ -88,7 +88,7 @@ def compile_string(self, data, source_path=None, is_two_file=True, post=None):
# To prevent some weird bugs here or there.
# Original issue: empty files. `output` became a bytestring.
output = output.decode('utf-8')
output, shortcode_deps =, filename=source, with_dependencies=True, extra_context=dict(post=post))
output, shortcode_deps =, filename=source_path, with_dependencies=True, extra_context=dict(post=post))
return output, error_level, deps, shortcode_deps

# TODO remove in v8

0 comments on commit cc6bd52

Please sign in to comment.
You can’t perform that action at this time.