diff options
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="" |
