Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix toDict in replay plugin
  • Loading branch information
rohits47 committed Jul 6, 2020
commit 6a32c33690eac9c13fa698cb8feb0fb062ea5206
4 changes: 1 addition & 3 deletions sc2reader/scripts/sc2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ def main():
args = parser.parse_args()

factory = sc2reader.factories.SC2Factory()
factory.register_plugin(
"Replay", toJSON(encoding=args.encoding, indent=args.indent)
)
factory.register_plugin("Replay", toJSON(indent=args.indent))
replay_json = factory.load_replay(args.path[0])
print(replay_json)

Expand Down