forked from platformio/platformio-core
Disable parsing of extra configs for PIO Home Project RPC load/dump methods
This commit is contained in:
1 parent
3de2d84e2b
commit
cd3d638337
1 file changed
+2
-2
@@ -45,11 +45,11 @@ class ProjectRPC(object):
|
||||
|
||||
@staticmethod
|
||||
def config_load(path):
|
||||
return ProjectConfig(path).as_tuple()
|
||||
return ProjectConfig(path, parse_extra=False).as_tuple()
|
||||
|
||||
@staticmethod
|
||||
def config_dump(path, data):
|
||||
config = ProjectConfig(path)
|
||||
config = ProjectConfig(path, parse_extra=False)
|
||||
config.update(data, clear=True)
|
||||
return config.save()
|
||||
|
||||
|
||||
Reference in new issue
Block a user