Merge branches 'implement-postgres' and 'implement-postgres' of https://git.ll5.de/lelo/app.bethaus into implement-postgres
This commit is contained in:
commit
928fdb8901
@ -53,8 +53,11 @@ class Database(metaclass=SingletonMeta):
|
||||
)
|
||||
''')
|
||||
|
||||
# Create a global database instance.
|
||||
log_db = Database()
|
||||
try:
|
||||
# Create a global database instance.
|
||||
log_db = Database()
|
||||
except:
|
||||
print("No access to database. No logs available!!!")
|
||||
|
||||
def lookup_location(ip, reader):
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user