fix spacing

This commit is contained in:
Maximilian Keßler 2021-09-16 18:30:54 +02:00
parent 955b8031b5
commit bc166396c7

View file

@ -1,9 +1,11 @@
from datetime import datetime from datetime import datetime
from pathlib import Path from pathlib import Path
def get_week(d=datetime.today()): def get_week(d=datetime.today()):
return (int(d.strftime("%W")) + 52 - 5) % 52 return (int(d.strftime("%W")) + 52 - 5) % 52
# default is 'primary', if you are using a separate calendar for your course schedule, # default is 'primary', if you are using a separate calendar for your course schedule,
# your calendarId (which you can find by going to your Google Calendar settings, selecting # your calendarId (which you can find by going to your Google Calendar settings, selecting
# the relevant calendar and scrolling down to Calendar ID) probably looks like # the relevant calendar and scrolling down to Calendar ID) probably looks like
@ -18,6 +20,6 @@ ROOT = Path('~/Uni/semester-5').expanduser()
DATE_FORMAT = '%a %d %b %Y' DATE_FORMAT = '%a %d %b %Y'
LOCALE = "de_DE.utf8" LOCALE = "de_DE.utf8"
COURSE_IGNORE_FILE = '.courseignore' COURSE_IGNORE_FILE = '.courseignore'
COURSE_INFO_FILE = 'info.yaml' COURSE_INFO_FILE = 'info.yaml'
DEFAULT_MASTER_FILE_NAME = 'master.tex' DEFAULT_MASTER_FILE_NAME = 'master.tex'
MAX_LEN = 40 MAX_LEN = 40