diff --git a/mgz/reference.py b/mgz/reference.py index a70ef87..9f7bb07 100644 --- a/mgz/reference.py +++ b/mgz/reference.py @@ -11,7 +11,7 @@ def get_dataset(version, mod): """Fetch dataset reference data.""" if version is Version.DE: - if 11 in mod: + if isinstance(mod, list) and 11 in mod: dataset_id = 101 else: dataset_id = 100 diff --git a/setup.py b/setup.py index c164acf..4cae8ed 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='mgz', - version='1.8.16', + version='1.8.17', description='Parse Age of Empires 2 recorded games.', url='https://github.com/happyleavesaoc/aoc-mgz/', license='MIT', @@ -11,7 +11,7 @@ author_email='happyleaves.tfr@gmail.com', packages=find_packages(), install_requires=[ - 'aocref>=2.0.10', + 'aocref>=2.0.11', 'construct==2.8.16', 'dataclasses==0.8; python_version < "3.7"', 'tabulate>=0.9.0',