MCPcopy Create free account
hub / github.com/ExpressLRS/ExpressLRS / dequote

Function dequote

src/python/build_flags.py:31–34  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

29
30
31def dequote(str):
32 if str[0] == '"' and str[-1] == '"':
33 return str[1:-1]
34 return str
35
36def process_json_flag(define):
37 parts = re.search(r"-D(.*)\s*=\s*(.*)$", define)

Callers 1

process_json_flagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected