I thought there was already an issue for this but I couldn't find it.
It will also be important for us to distinguish HotS s2gs from WoL s2gs. When computing stats for many purposes it will be important not to mix the two.
We can try a similar technique for summary files by using the localization sheets instead of the map dependencies:
dependencies = [sheet for sheet in self.lang_sheets['enUS']]
if 'Swarm (Mod)' in dependencies:
self.expansion = 'HotS'
elif 'Liberty (Mod)' in dependencies:
self.expansion = 'WoL'
self.expansion = ''
I'll push this soon.
Fix #97 and #103. Fix resource.expansion values.