event + training colors
This commit is contained in:
10
sched.py
Normal file → Executable file
10
sched.py
Normal file → Executable 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')
|
Reference in New Issue
Block a user