mirror of
https://github.com/YunoHost/yunodevtools.git
synced 2024-09-03 20:16:19 +02:00
appv2: fix quotes around port keys
This commit is contained in:
parent
95616ad2a8
commit
e80b08339b
1 changed files with 4 additions and 0 deletions
|
@ -217,6 +217,10 @@ def _dump_v2_manifest_as_toml(manifest):
|
|||
toml_manifest_dump = toml_manifest_dump.replace('"ram.runtime"', "ram.runtime")
|
||||
toml_manifest_dump = toml_manifest_dump.replace('"main.url"', "main.url")
|
||||
toml_manifest_dump = toml_manifest_dump.replace('"main.default"', "main.default")
|
||||
if "ports" in manifest["resources"]:
|
||||
for port_thing in manifest["resources"]["ports"].keys():
|
||||
toml_manifest_dump = toml_manifest_dump.replace(f'"{port_thing}"', f"{port_thing}")
|
||||
|
||||
return toml_manifest_dump
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue