diff --git a/eNMS/models/automation.py b/eNMS/models/automation.py index c52dcc360..42fe06a8c 100644 --- a/eNMS/models/automation.py +++ b/eNMS/models/automation.py @@ -240,7 +240,6 @@ def compute_devices(self, payload: dict) -> Set["Device"]: def close_connection_cache(self) -> None: for library in ("netmiko", "napalm"): - print(self.runtime, controller.connections_cache[library]) connections = controller.connections_cache[library].pop(self.runtime, None) if not connections: continue diff --git a/eNMS/templates/forms/job_form.html b/eNMS/templates/forms/job_form.html index b5fb2916a..a4100de8b 100644 --- a/eNMS/templates/forms/job_form.html +++ b/eNMS/templates/forms/job_form.html @@ -288,7 +288,9 @@ - +
{{ form.skip_python_query(id=form_type + '-skip_python_query', class="form-control hide-run add-id") }} diff --git a/eNMS/templates/pages/table.html b/eNMS/templates/pages/table.html index ef07d7292..e1b10c436 100644 --- a/eNMS/templates/pages/table.html +++ b/eNMS/templates/pages/table.html @@ -13,9 +13,9 @@ {{ service_table_form.services(id="service-type", class="form-control") }} - {% endif %} {% if type not in ("configuration", "run", "syslog") %} {% set - func = "openServicePanel" if type == "service" else "showTypePanel" - %} + {% endif %} {% if type not in ("configuration", "run", "syslog") %} + {% set func = "openServicePanel" if type == "service" else + "showTypePanel" %}