def get_domain_name():
    '\n    Returns the domain name of the current configuration from a config file\n    \n    Returns\n    -------\n    string\n        the domain name\n    '
    with open('/var/www/logic_webapp/webapp_config') as file:
        line = file.readline()
        domain = line.split('=')[1].rstrip()
        return domain
Returns the domain name of the current configuration from a config file

Returns
-------
string
    the domain name
def get_domain_name():
    '\n    Returns the domain name of the current configuration from a config file\n    \n    Returns\n    -------\n    string\n        the domain name\n    '
    with open('/var/www/logic_webapp/webapp_config') as file:
        line = file.readline()
        domain = line.split('=')[1].rstrip()
        return domain