def next_time_open(location):
    """
    Returns the next possible OpeningHours object, or False if the location is currently open or if there is no such
    object
    """
    obj, ts = utils.next_time_open(location)
    return obj
示例#2
0
def next_time_open(location):
    """
    Returns the next possible OpeningHours object, or False
    if the location is currently open or if there is no such object.
    """
    obj, ts = utils.next_time_open(location)
    return obj