diff --git a/libnotices.py b/libnotices.py index 2b3afe6..9687bd1 100644 --- a/libnotices.py +++ b/libnotices.py @@ -207,7 +207,7 @@ returntable += tablestart + 'Name'+ th for account in accounts: accountcount = sum(b.person == account.name for b in allbooks) if accountcount >0: - returntable += "" + account.person + td + str(accountcount) + "" + returntable += "" + account.name + td + str(accountcount) + "" duesoon = [d for d in allbooks if (d.duedate < datetime.date.today() + datetime.timedelta(days=10)) and not (str(d.renewresult).lower() == 'None'.lower())] if len(duesoon) >=1: returntable += tablestart + 'Type'+ th +'Count'