forked from platformio/platformio-core
Fix export project for IDE under Windows
This commit is contained in:
1 parent
a7f8b65356
commit
76ddcb9d37
1 file changed
+1
-1
@@ -52,7 +52,7 @@ class ProjectGenerator(object):
|
||||
output = result['out']
|
||||
try:
|
||||
start_index = output.index('\n{"includes":')
|
||||
stop_index = output.rindex('}\n')
|
||||
stop_index = output.rindex('}')
|
||||
return json.loads(output[start_index + 1:stop_index + 1])
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user