File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,6 @@ def main():
1515 default = None ,
1616 help = "The per-line indent to use when printing a human readable json string" ,
1717 )
18- parser .add_argument (
19- "--encoding" ,
20- "-e" ,
21- type = str ,
22- default = "UTF-8" ,
23- help = "The character encoding use.." ,
24- )
2518 parser .add_argument (
2619 "path" ,
2720 metavar = "path" ,
@@ -33,9 +26,7 @@ def main():
3326
3427 factory = sc2reader .factories .SC2Factory ()
3528 try :
36- factory .register_plugin (
37- "Replay" , toJSON (encoding = args .encoding , indent = args .indent )
38- ) # legacy Python
29+ factory .register_plugin ("Replay" , toJSON (indent = args .indent ))
3930 except TypeError :
4031 factory .register_plugin ("Replay" , toJSON (indent = args .indent ))
4132 replay_json = factory .load_replay (args .path [0 ])
You can’t perform that action at this time.
0 commit comments