event + training colors

This commit is contained in:
2021-03-23 15:47:03 +01:00
parent 28306ae7f6
commit b56175fe13
3 changed files with 56 additions and 10 deletions

10
sched.py Normal file → Executable file
View File

@@ -1,5 +1,9 @@
#!/usr/bin/env python3
from vatsched import *
import os
# outputdirectory, filename = os.path.split(__file__) # to place in current directory
outputdirectory = "/home/daniel/html/vatsim"
stations = [
"EDWW_CTR",
@@ -47,6 +51,8 @@ stations = [
displaydates = EveryXWeeksFromStartdate("26.02.2021", 4, 2)
#displaydates = EveryWeekday(1,2) # MONDAY = 0
#displaydates = WholeWeek()
createImage(displaydates, stations, 'test.jpg')
createImage(displaydates, stations, outputdirectory + os.sep + 'ber-fra-shuttle.jpg')
#displaydates = WholeWeek()
#createImage(displaydates, stations, outputdirectory + os.sep + 'woche.jpg')