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):
|
|||||||
)
|
)
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
try:
|
||||||
# Create a global database instance.
|
# Create a global database instance.
|
||||||
log_db = Database()
|
log_db = Database()
|
||||||
|
except:
|
||||||
|
print("No access to database. No logs available!!!")
|
||||||
|
|
||||||
def lookup_location(ip, reader):
|
def lookup_location(ip, reader):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user