diff --git a/libnotices.py b/libnotices.py index 9687bd1..d62c6bd 100644 --- a/libnotices.py +++ b/libnotices.py @@ -208,6 +208,8 @@ for account in accounts: accountcount = sum(b.person == account.name for b in allbooks) if accountcount >0: returntable += "" + account.name + td + str(accountcount) + "" + totalcheckedout = len(allbooks) + returntable += "Total" + td + str(totalcheckedout) + "" + tableend 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'