diff --git a/libnotices.py b/libnotices.py index b2f09a8..6574ee7 100644 --- a/libnotices.py +++ b/libnotices.py @@ -188,8 +188,7 @@ TD {border-width: 1px; padding: 3px; border-style: solid; border-color: black;} tableend=" " timezone = ZoneInfo("America/Chicago") returntable="Last Updated" + str(datetime.datetime.now(timezone)) -returntable+='
Click Here to be able to refresh the list.' -returntable+='
Click for the return list' +returntable+='
Click Here to visit the site.' returntable += """
@@ -277,8 +276,6 @@ else: for item in returnlist: returntable += "" + item.person + td + item.materialtype + td + str(item.renewalcount) + td + str(item.checkoutdate) + td + str(item.duedate) + td + item.title + td + item.isbn + td +'' +"\n" returntable += tableend -with open("/var/www/html/returnlist.html","w",encoding='utf-8') as outhtml: - outhtml.write(returntable) htmltable = returntable with open("/var/www/html/index.html","w",encoding='utf-8') as outhtml: outhtml.write(htmltable)