mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix applications settings
This commit is contained in:
parent
4c0651f593
commit
40a9788536
1 changed files with 3 additions and 2 deletions
|
|
@ -92,8 +92,9 @@ class ApplicationsAddon(BaseServerAddon):
|
|||
settings_model = ApplicationsAddonSettings
|
||||
|
||||
async def get_default_settings(self):
|
||||
applications_path = os.path.join(self.addon_dir, "applications.json")
|
||||
tools_path = os.path.join(self.addon_dir, "tools.json")
|
||||
server_dir = os.path.join(self.addon_dir, "server")
|
||||
applications_path = os.path.join(server_dir, "applications.json")
|
||||
tools_path = os.path.join(server_dir, "tools.json")
|
||||
default_values = copy.deepcopy(DEFAULT_VALUES)
|
||||
with open(applications_path, "r") as stream:
|
||||
default_values.update(json.load(stream))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue