diff --git a/dev-requirements.txt b/dev-requirements.txt index a82e4a2c..f646b728 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,6 +1,6 @@ -rrequirements.txt -sphinx==1.7.1 -pytest==4.0.0 +sphinx==1.8.2 +pytest==4.0.1 pep8==1.7.1 pytest-timeout==1.3.3 diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py index 196446ec..8a743a8d 100644 --- a/gns3server/controller/__init__.py +++ b/gns3server/controller/__init__.py @@ -341,7 +341,7 @@ class Controller: if "appliances" in controller_settings: for appliance_settings in controller_settings["appliances"]: try: - appliance = Appliance(appliance_settings["appliance_id"], appliance_settings) + appliance = Appliance(appliance_settings.get("appliance_id"), appliance_settings) self._appliances[appliance.id] = appliance except jsonschema.ValidationError as e: message = "Cannot load appliance with JSON data '{}': {}".format(appliance_settings, e.message)