diff options
| author | Loïc Guégan <manzerbredes@mailbox.org> | 2025-07-24 17:02:26 +0200 |
|---|---|---|
| committer | Loïc Guégan <manzerbredes@mailbox.org> | 2025-07-24 17:02:26 +0200 |
| commit | 21c2155d61c4f2082362e53235019ef750325ccb (patch) | |
| tree | 54720d7e346ae9f70d814c0904b9e9926d6a3bae /main.py | |
| parent | bb4497c653bcca1254f51c8e6efd2bff3ac75c59 (diff) | |
Minor changes
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,10 +31,10 @@ def getlecture(d): for l in i["lectures"]: date=parse_date(i["lectures"][l]["date"]) if d==date: - lecturer="" + text=textwrap.fill(i["lectures"][l]["name"],i["output"]["text_wrap"]) if i["output"]["show_lecturers"]: - lecturer="\n ("+i["lectures"][l]["who"]+")" - return textwrap.fill(i["lectures"][l]["name"]+lecturer,i["output"]["text_wrap"]) + text+="\n"+textwrap.fill("("+i["lectures"][l]["who"]+")",i["output"]["text_wrap"]) + return text return "" def getevents(d): val="" |
