def METHOD_NAME(self, genre='', server='cn'):
    for ext in ['.png', '.gif']:
        file = f'{self.name}.{genre}{ext}' if genre else f'{self.name}{ext}'
        file = os.path.join(AzurLaneConfig.ASSETS_FOLDER, server, self.module, file).replace('\\', '/')
        if os.path.exists(file):
            return file
    ext = '.png'
    file = f'{self.name}.{genre}{ext}' if genre else f'{self.name}{ext}'
    file = os.path.join(AzurLaneConfig.ASSETS_FOLDER, server, self.module, file).replace('\\', '/')
    return file