Skip to content

Commit 6a32c33

Browse files
committed
fix toDict in replay plugin
1 parent c0bf9a9 commit 6a32c33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sc2reader/scripts/sc2json.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ def main():
3434
args = parser.parse_args()
3535

3636
factory = sc2reader.factories.SC2Factory()
37-
factory.register_plugin(
38-
"Replay", toJSON(encoding=args.encoding, indent=args.indent)
39-
)
37+
factory.register_plugin("Replay", toJSON(indent=args.indent))
4038
replay_json = factory.load_replay(args.path[0])
4139
print(replay_json)
4240

0 commit comments

Comments
 (0)