W.I.L.O.S: What's it like outside?

def main(lat, lon, loc):
    """W.I.L.O.S: What's it like outside?"""
    writer = get_writer()

    try:
        if (not lat or not lon) and (not loc):
            raise IncorrectParametersException('Please specify a latitude, longitude, or location'
                                               'Example: wilos --lat=19.8968 --lon=155.5828 --loc="hawaii"')
        if lat is not None and long is not None:
            get_live_weather(lat, lon, writer)
        elif loc is not None:
            loc_data = get_coordinates(loc)
            writer.title(loc_data['address'])
            get_live_weather(loc_data['coordinates']['lat'],
                             loc_data['coordinates']['lng'],
                             writer)

    except IncorrectParametersException as e:
        click.secho(e.message, fg="red", bold=True)