Skip to content
Closed
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
Prev Previous commit
Blackout
  • Loading branch information
manuelseeger committed Jan 8, 2023
commit 8d7c5af24d009c03b89f897de356b3e9e369fc91
4 changes: 1 addition & 3 deletions sc2reader/scripts/sc2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def main():

factory = sc2reader.factories.SC2Factory()
try:
factory.register_plugin(
"Replay", toJSON(indent=args.indent)
)
factory.register_plugin("Replay", toJSON(indent=args.indent))
except TypeError:
factory.register_plugin("Replay", toJSON(indent=args.indent))
replay_json = factory.load_replay(args.path[0])
Expand Down