Small optimization
This commit is contained in:
parent
98a46e8caa
commit
71bb760ce5
2 changed files with 1 additions and 5 deletions
|
|
@ -106,10 +106,7 @@ def index():
|
|||
asset_plugin_urls[name] = implementation.get_assets()
|
||||
|
||||
template_plugins = pluginManager.get_implementations(octoprint.plugin.TemplatePlugin)
|
||||
template_plugin_names = list()
|
||||
for name in template_plugins.items():
|
||||
template_plugin_names.append(name[0])
|
||||
|
||||
template_plugin_names = template_plugins.keys()
|
||||
|
||||
return render_template(
|
||||
"index.jinja2",
|
||||
|
|
|
|||
|
|
@ -654,7 +654,6 @@
|
|||
{% endif %}
|
||||
<!-- End plugin template files -->
|
||||
|
||||
|
||||
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/jquery/jquery.min.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/modernizr.custom.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/underscore-min.js') }}"></script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue