ovos-yaml-editor 0.0.2a1__tar.gz → 0.0.3a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ovos-yaml-editor might be problematic. Click here for more details.
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/PKG-INFO +1 -1
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor/__init__.py +4 -1
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor/version.py +1 -1
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/PKG-INFO +1 -1
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/LICENSE +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/README.md +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/SOURCES.txt +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/dependency_links.txt +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/entry_points.txt +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/requires.txt +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/top_level.txt +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/setup.cfg +0 -0
- {ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/setup.py +0 -0
|
@@ -178,7 +178,7 @@ async def get_editor(credentials: HTTPBasicCredentials = Depends(authenticate)):
|
|
|
178
178
|
<div id="editor"></div>
|
|
179
179
|
|
|
180
180
|
<footer>
|
|
181
|
-
<p>© 2025 OpenVoiceOS. <a href="https://github.com/OpenVoiceOS/ovos-yaml-editor">GitHub</a> | <a href="https://github.com/OpenVoiceOS/ovos-yaml-editor/blob/
|
|
181
|
+
<p>© 2025 OpenVoiceOS. <a href="https://github.com/OpenVoiceOS/ovos-yaml-editor">GitHub</a> | <a href="https://github.com/OpenVoiceOS/ovos-yaml-editor/blob/dev/LICENSE">Apache 2.0 License</a></p>
|
|
182
182
|
</footer>
|
|
183
183
|
|
|
184
184
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.5/codemirror.min.js"></script>
|
|
@@ -317,6 +317,9 @@ async def save_config_post(request: Request, credentials: HTTPBasicCredentials =
|
|
|
317
317
|
# only save to file/memory any value that differs from default config
|
|
318
318
|
if v2 is None or v != v2:
|
|
319
319
|
conf[k] = memory_config[k] = v
|
|
320
|
+
# if value changed back to default, remove it from user conf
|
|
321
|
+
elif v == v2 and k in conf:
|
|
322
|
+
conf.pop(k)
|
|
320
323
|
conf.store()
|
|
321
324
|
return {"success": True}
|
|
322
325
|
except Exception as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/requires.txt
RENAMED
|
File without changes
|
{ovos-yaml-editor-0.0.2a1 → ovos-yaml-editor-0.0.3a1}/ovos_yaml_editor.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|