From 816646a207a56d6b8ac4643614df8f1fa434477d Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Mon, 14 Dec 2020 18:35:50 +0100 Subject: [PATCH] Rest Api module key lowered in settings --- pype/modules/rest_api/rest_api.py | 2 +- pype/settings/defaults/system_settings/modules.json | 2 +- .../settings/gui_schemas/system_schema/schema_modules.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pype/modules/rest_api/rest_api.py b/pype/modules/rest_api/rest_api.py index bd9e7d2a83..2a074fd97a 100644 --- a/pype/modules/rest_api/rest_api.py +++ b/pype/modules/rest_api/rest_api.py @@ -97,7 +97,7 @@ class RestApiModule(PypeModule, ITrayService): `_handle_callback_result` defined in handler. """ label = "Rest API Service" - name = "Rest Api" + name = "rest_api" def initialize(self, modules_settings): rest_api_settings = modules_settings[self.name] diff --git a/pype/settings/defaults/system_settings/modules.json b/pype/settings/defaults/system_settings/modules.json index b1eeebf322..83b5db0d30 100644 --- a/pype/settings/defaults/system_settings/modules.json +++ b/pype/settings/defaults/system_settings/modules.json @@ -104,7 +104,7 @@ } } }, - "Rest Api": { + "rest_api": { "default_port": 8021, "exclude_ports": [] }, diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/schema_modules.json b/pype/tools/settings/settings/gui_schemas/system_schema/schema_modules.json index 5f586f9ee6..7bc2b17c6d 100644 --- a/pype/tools/settings/settings/gui_schemas/system_schema/schema_modules.json +++ b/pype/tools/settings/settings/gui_schemas/system_schema/schema_modules.json @@ -40,7 +40,7 @@ }, { "type": "dict", - "key": "Rest Api", + "key": "rest_api", "label": "Rest Api", "collapsable": true, "children": [{