feat: wrap the db object around baza, which will provide helper methods

also adds the list of tracked sportsmen
This commit is contained in:
2025-05-27 12:28:51 +02:00
parent b6ae33861e
commit 65ec7ff73d
5 changed files with 153 additions and 93 deletions

View File

@@ -84,7 +84,7 @@ def getConfig(configfile):
def setupDb(app, config):
global db
db = lewy_db.initDB(app, config)
db = lewy_db.baza(app, config)
return db
def getDb():