Merge branches 'implement-postgres' and 'implement-postgres' of https://git.ll5.de/lelo/app.bethaus into implement-postgres

This commit is contained in:
lelo 2025-03-31 18:24:49 +00:00
commit 928fdb8901

View File

@ -53,8 +53,11 @@ class Database(metaclass=SingletonMeta):
) )
''') ''')
# Create a global database instance. try:
log_db = Database() # Create a global database instance.
log_db = Database()
except:
print("No access to database. No logs available!!!")
def lookup_location(ip, reader): def lookup_location(ip, reader):
try: try: