feat: release 2.0.7 version

This commit is contained in:
zhayujie
2026-04-23 18:13:53 +08:00
parent ce4c0a0aa4
commit e1760ba211
2 changed files with 4 additions and 2 deletions

View File

@@ -1095,7 +1095,9 @@ def main():
sys.exit(1)
try:
args = json.loads(sys.argv[1])
raw = sys.argv[1]
raw = raw.replace('\u201c', '"').replace('\u201d', '"').replace('\u2018', "'").replace('\u2019', "'")
args = json.loads(raw)
except json.JSONDecodeError as e:
print(json.dumps({"error": f"Invalid JSON: {e}"}))
sys.exit(1)