def close_esi_fleet(fatlink: AFatLink, reason: str) -> None: """ Closing ESI fleet :param fatlink: :param reason: """ logger.info( "Closing ESI FAT link with hash {fatlink_hash}. Reason: {reason}". format(fatlink_hash=fatlink.hash, reason=reason)) fatlink.is_registered_on_esi = False fatlink.save()
def close_esi_fleet(fatlink: AFatLink, reason: str) -> None: """ Closing ESI fleet :param fatlink: :type fatlink: :param reason: :type reason: :return: :rtype: """ logger.info( f'Closing ESI FAT link with hash "{fatlink.hash}". Reason: {reason}') fatlink.is_registered_on_esi = False fatlink.save()