Skip to content

Commit 65d5c84

Browse files
committed
Fixes a small bug in the package level configure function
1 parent 8255b73 commit 65d5c84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sc2reader/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __getitem__(self,key):
9191
}
9292

9393
READERS = ReaderMap()
94-
94+
9595
def read_header(file):
9696
buffer = ReplayBuffer(file)
9797

@@ -159,7 +159,7 @@ def read(self, location):
159159
replay = process(replay)
160160

161161
return replay
162-
162+
163163
def configure(self,**options):
164164
self.__dict__.update(options)
165165

@@ -168,7 +168,7 @@ def configure(self,**options):
168168
__defaultSC2Reader = SC2Reader()
169169

170170
def configure(**options):
171-
__defaultSC2Reader.configure(options)
171+
__defaultSC2Reader.configure(**options)
172172

173173
def read(location, **options):
174174
if options:

0 commit comments

Comments
 (0)