Commits

David Stone committed 104ea15

Removed 'other' from detailed stats.

  • Participants
  • Parent commits 9d30243

Comments (0)

Files changed (1)

File statistics_scripts/smogon.py

 			super_tag = specific[0].lower()
 			super_element = ET.SubElement(pokemon, super_tag)
 			for value in specific[1:]:
+				info = delimit_value_from_text(value)
+				if info[0] == 'Other':
+					continue
 				element = ET.SubElement(super_element, to_singular[super_tag])
-				info = delimit_value_from_text(value)
 				name = ET.SubElement(element, 'name')
 				name.text = info[0]
 				probability = ET.SubElement(element, 'probability')