We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bf9a9 commit 6a32c33Copy full SHA for 6a32c33
sc2reader/scripts/sc2json.py
@@ -34,9 +34,7 @@ def main():
34
args = parser.parse_args()
35
36
factory = sc2reader.factories.SC2Factory()
37
- factory.register_plugin(
38
- "Replay", toJSON(encoding=args.encoding, indent=args.indent)
39
- )
+ factory.register_plugin("Replay", toJSON(indent=args.indent))
40
replay_json = factory.load_replay(args.path[0])
41
print(replay_json)
42
0 commit comments