This commit is contained in:
Ádám Kovács
2023-11-07 14:00:40 +01:00
parent 36638e2dd1
commit ec52bd7384
7 changed files with 301 additions and 0 deletions

16
globals.py Normal file
View File

@@ -0,0 +1,16 @@
import constants
from type import Setting, Time
global day_mode
global by_day_settings
global by_week_settings
def init():
global day_mode
global by_day_settings
global by_week_settings
by_day_settings = []
by_week_settings = [Setting(Time(10,10), 20.5)]
day_mode = constants.BY_WEEK