Пример #1
0
def set_cal(gcal: GCal):
    cal_name = get_cal_name()
    print("Creating calendar for", cal_name)
    if gcal.set_cal(cal_name):
        print("Calendar", cal_name, "already exists. Clearing old events.")
        gcal.clear_cal()