def _votes(self, val):
        """
        Returns cleaned version of votes or 0 if it's a non-numeric value.
        """
        if val.strip() == '':
            return 0

        try:
            return int(float(val))
        except __HOLE__:
            # Count'y convert value from string
            return 0
dataset/ETHPy150Open openelections/openelections-core/openelex/us/wv/load.py/WVLoader._votes