def time_delta_seconds(t1, t2):
    """Returns the number of seconds between two datetime.time objects"""
    t1_s = (t1.hour * 60 * 60 + t1.minute * 60 + t1.second)
    t2_s = (t2.hour * 60 * 60 + t2.minute * 60 + t2.second)

    return max([t1_s, t2_s]) - min([t1_s, t2_s])