def create_redirection_page(ip=None):
    '''Creates and returns a string representation of an html page using the HTML_PAGE variable.'''
    if (ip):
        return HTML_PAGE % {'addr': ip}
    else:
        ip = get_my_ip()
        return HTML_PAGE % {'addr': ip}
Creates and returns a string representation of an html page using the HTML_PAGE variable.
recipes/Python/335890_Update_web_point_dynamic/recipe-335890.py