X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/4ece039d5e285ffb3498001b8f0d07acd53b1f1a..2daf2b935aa503970fd03db523736d529f284da8:/invoke/school/tasks.py diff --git a/invoke/school/tasks.py b/invoke/school/tasks.py index d7c89e6..7ca1074 100644 --- a/invoke/school/tasks.py +++ b/invoke/school/tasks.py @@ -133,7 +133,9 @@ def print_day(c, person, date): for subject, row in today.groupby('subject'): print() print() - print(f'### {row["subject"].values[0]}') + subject = row['subject'].values[0] + minutes = int(row['minutes'].values[0]) + print(f'### {subject} - {minutes} minutes') print() for task in row['task'].values: print() @@ -150,7 +152,7 @@ def print_day(c, person, date): # Sometimes a float. if hasattr(tip, 'strip'): print() - print(f'**When done**: {tip}.strip()') + print(f'**When done**: {tip.strip()}') @task def files(c): @@ -171,9 +173,12 @@ def fresh_week(c): @task def checklist(c): print('- [ ] `fresh-week` to clean up old files.') + print('- [ ] update `Assignments/motd.txt` with an encouraging message for the week.') print('- [ ] start libreoffice and open `assignements.ods`') print('- [ ] copy a previous sheet to be the new first sheet, and update the date Monday date.') print('- [ ] `invoke missing YYYY.MM.DD` the .ods file.') print('- [ ] `invoke make-all YYYY.MM.DD` to generate PDF files') print('- [ ] review the PDF files and recreate if needed.') + print('- [ ] share the PDF files in the family chat thrad.') +