

def index_data(self, asset):
    key = asset[0]
    path = asset[1]
    asset_data = self.assets.read(key, path)
    if (asset_data is None):
        return
    if ('type' in asset_data):
        return (path, path, 'monster', '', asset_data['type'], '')
    else:
        logging.warning(('Invalid monster: %s' % key))

dataset/ETHPy150Open wizzomafizzo/starcheat/starcheat/assets/monsters.py Monsters.index_data/VarMisuse@62/77 `key`->`path`