File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ Options
4444SC2Reader behavior can be configured with a number of options which can either
4545be specified individually by keyword argument or packaged into a dictionary::
4646
47- from sc2reader import config
47+ import sc2reader
4848
4949 options = dict(
5050 'processors': [PostProcessor],
51- 'parse': config .PARTIAL,
51+ 'parse': sc2reader .PARTIAL,
5252 'directory':'C:\Users\Me\Documents...',
5353 )
5454
55- reader = SC2Reader(processors=[PostProcessor],parse=config .PARTIAL)
55+ reader = SC2Reader(processors=[PostProcessor],parse=sc2reader .PARTIAL)
5656 sc2reader.config(**options)
5757
5858Options currently available are described below:
@@ -80,7 +80,7 @@ Options currently available are described below:
8080
8181.. option :: parse
8282
83- Three parse levels are provided in the `` sc2reader.config `` package :
83+ Three parse levels are provided for general convenience :
8484
8585 * ``FULL `` parse will parse through all available files and produce the
8686 most comprehensive replay object.
Original file line number Diff line number Diff line change 88
99__version__ = "0.3.0"
1010
11+ FULL = "FULL"
12+ PARTIAL = "PARTIAL"
13+ CUSTOM = "CUSTOM"
14+
1115FILES = {
1216 "FULL" : [
1317 'replay.initData' ,
You can’t perform that action at this time.
0 commit comments