Skip to content

Commit 3fe4d22

Browse files
authored
Merge pull request #13 from jeromeetienne/pr_remove_jsonrpc
Remove "jsonrpc" version and replace it by "gsp_version"
2 parents 6aefaab + 60616aa commit 3fe4d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gsp/io/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def dump(queue=None, filename=None):
6464
commands = []
6565
for command in queue.commands:
6666
commands.append(dump_command(command, stream=None))
67-
payload = { "jsonrpc": "2.0", "commands" : commands }
67+
payload = { "gsp_version": "1.0", "commands" : commands }
6868

6969
if filename is None:
7070
return json.dumps(payload, indent=2, default=default)

0 commit comments

Comments
 (0)