def get_proxy(args):
    """
    Return a proxy dictionary
    """
    if args is None or args['--proxy'] is None:
        return {'http': '', 'https': ''}
    else:
        return {'http': args['--proxy'], 'https': args['--proxy']}
