def _get_all_templates(): from octoprint.util.jinja import get_all_template_paths return get_all_template_paths(app.jinja_loader)