Skip to content

Commit

Permalink
Renamed inline_image filter to inline_file.
Browse files Browse the repository at this point in the history
  • Loading branch information
kzar committed Apr 10, 2015
1 parent cd75f35 commit 9df789a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def process_animation(path):
if (child.nodeType == Node.ELEMENT_NODE and
child.tagName == "object" and
child.hasAttribute("src")):
child.setAttribute("src", "{{'%s'|localise_path(locale)|inline_image}}" % child.getAttribute("src"))
child.setAttribute("src", "{{'%s'|localise_path(locale)|inline_file}}" % child.getAttribute("src"))

page_data = "template=raw\n\n" + xml_to_text(animation_data)
target = os.path.join(output_dir, "pages", "animations", os.path.dirname(path).replace("_include", ""),
Expand Down

0 comments on commit 9df789a

Please sign in to comment.