MCPcopy
hub / github.com/breakwa11/gfw_whitelist / get_default_param

Function get_default_param

mainproxy.py:173–176  ·  view source on GitHub ↗
(param, defstring, defval)

Source from the content-addressed store, hash-verified

171 file_obj.write(js_shorter(proxy_content))
172
173def get_default_param(param, defstring, defval):
174 if param == defstring:
175 return defval
176 return '"' + param.strip('"') + '"'
177
178def main():
179 args = parse_args()

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected