如果 duration 为0, 则一直阻塞程序运行
    :param duration:
    :type duration:
    :return:
    :rtype:

def block_here(duration=0):
    """
    如果 duration 为0, 则一直阻塞程序运行
    :param duration:
    :type duration:
    :return:
    :rtype:
    """
    try:
        while not duration:
            time.sleep(0.001)

        while duration:
            time.sleep(0.001)
            duration -= 1
    except KeyboardInterrupt as err:
        raise SystemExit(1)