

def _set_path(self):
    if (not self.path):
        try:
            path = config['leaderboards_db']
        except KeyError:
            LOG.error('leaderboards_db path config variable not set')
            return
        path = join_path(path, path.game.slug)
        if (not create_dir(path)):
            LOG.error('Game leaderboards path "%s" could not be created.', path)
        self.path = join_path(path, (self.key + '.yaml'))

dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/apiv1/leaderboards.py Leaderboard._set_path/VarMisuse@53/83 `self`->`path`