Skip to content

Commit 6f83357

Browse files
committed
Fix weird typo bug on MapHeaders.
1 parent 4660934 commit 6f83357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/factories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def load_map_header(self, source, options=None, **new_options):
106106

107107
def load_map_headers(self, sources, options=None, **new_options):
108108
"""Loads a collection of s2mh files, returns a generator."""
109-
return plugins_all(MapHeader, sources, options, extension='s2mh', **new_options)
109+
return self.load_all(MapHeader, sources, options, extension='s2mh', **new_options)
110110

111111
def configure(self, cls=None, **options):
112112
""" Configures the factory to use the supplied options. If cls is specified

0 commit comments

Comments
 (0)