Compare commits

..

No commits in common. "cf834cadaf272f8d860fc17712aba7486684ace2" and "11eff2d940aba4d7d5db50df6eac9b73c1f79708" have entirely different histories.

View File

@ -6,7 +6,6 @@ import boto3
import json import json
from json import JSONEncoder from json import JSONEncoder
import logging import logging
from zoneinfo import ZoneInfo
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
class libaccount(dict): class libaccount(dict):
def __init__(self,name,barcode,pin): def __init__(self,name,barcode,pin):
@ -186,8 +185,8 @@ TH {border-width: 1px; padding: 3px; border-style: solid; border-color: black; b
TD {border-width: 1px; padding: 3px; border-style: solid; border-color: black;} TD {border-width: 1px; padding: 3px; border-style: solid; border-color: black;}
</style><table>""" </style><table>"""
tableend="</table> </body></html>" tableend="</table> </body></html>"
timezone = ZoneInfo("America/Chicago")
returntable="Last Updated" + str(datetime.datetime.now(timezone)) returntable="Last Updated" + str(datetime.datetime.now())
returntable+='<br>Click <a href="https://librarynotice.hamik.net">Here</a> to be able to refresh the list.' returntable+='<br>Click <a href="https://librarynotice.hamik.net">Here</a> to be able to refresh the list.'
returntable+='<br>Click for the <a href="https://librarynotice.hamik.net/returnlist.html">return list</a>' returntable+='<br>Click for the <a href="https://librarynotice.hamik.net/returnlist.html">return list</a>'
returntable += """<form action="https://librarynotice.hamik.net/refresh.php"> returntable += """<form action="https://librarynotice.hamik.net/refresh.php">