예제 #1
0
def get_calendar(promo, group):
    output = '{}/{}.ics'.format(CALDIR, group)
    cal = chronos.chronos(promo, group, NUMWEEKS)
    print("ecriture: " + output)
    with open('{}'.format(output), 'w') as out:
        out.writelines(cal)
예제 #2
0
파일: cron.py 프로젝트: epita/chronos-ics
def get_calendar(promo, group):
    output = '{}/{}.ics'.format(CALDIR, group)
    cal = chronos.chronos(promo, group)
    with open('{}'.format(output), 'w') as out:
        out.writelines(cal)
예제 #3
0
def get_calendar(promo, group):
    output = '{}/{}.ics'.format(CALDIR, group)
    cal = chronos.chronos(promo, group)
    with open('{}'.format(output), 'w') as out:
        out.writelines(cal)
예제 #4
0
파일: cron.py 프로젝트: filol/chronos-ics
def get_calendar(promo, group):
    output = '{}/{}.ics'.format(CALDIR, group)
    cal = chronos.chronos(promo, group, NUMWEEKS)
    print("ecriture: " + output)
    with open('{}'.format(output), 'w') as out:
        out.writelines(cal)