diff options
| author | Loïc Guégan <manzerbredes@mailbox.org> | 2025-07-27 14:04:36 +0200 |
|---|---|---|
| committer | Loïc Guégan <manzerbredes@mailbox.org> | 2025-07-27 14:04:36 +0200 |
| commit | 34c5be47ca807ef09a42569604341cd97e07d188 (patch) | |
| tree | 739e162960583e0ee8d42670811d110629e2d231 /main.py | |
| parent | fb3a0ace74c3b359c8507ec84f0713ed19605417 (diff) | |
Add support for output format
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -167,7 +167,7 @@ while d<=sem["end"]: formatprojects(getnextdayn(d, 2)), formatprojects(getnextdayn(d, 3)), formatprojects(getnextdayn(d, 4))],False) - print(t) + print(t.get_formatted_string(_c["format"])) d=getnextmonday(d) w+=1 if d<sem["end"]: @@ -187,7 +187,7 @@ for s in sem["slots"]: if not _cslot["show_room"]: t.del_column(t.field_names[-1]) print(s+":") - print(t) + print(t.get_formatted_string(_c["format"])) #### Gen projects deadline tables if len(sem["projects"].keys()) > 0: @@ -210,4 +210,4 @@ if len(sem["projects"].keys()) > 0: if not _cproj["show_week"]: t.del_column(t.field_names[0]) print("Projects deadlines:") - print(t) + print(t.get_formatted_string(_c["format"])) |
