update db

This commit is contained in:
AF 2022-11-20 23:06:08 +00:00
parent 370850ad0a
commit 96567a0cb0
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
aiohttp
PyNaCl~=1.4.0
v6d0auth[full] @ git+https://gitea.parrrate.ru/PTV/v6d0auth.git@f67bdf12ca73087333c07812442b25fd20a5e35d
v6d0auth[full] @ git+https://gitea.parrrate.ru/PTV/v6d0auth.git@324236f435c92756aefe22877a97a906c462ef2c

View File

@ -15,7 +15,7 @@ setup(
],
extras_require={
'full': [
'v6d0auth[full] @ git+https://gitea.parrrate.ru/PTV/v6d0auth.git@f67bdf12ca73087333c07812442b25fd20a5e35d',
'v6d0auth[full] @ git+https://gitea.parrrate.ru/PTV/v6d0auth.git@324236f435c92756aefe22877a97a906c462ef2c',
],
},
)

View File

@ -12,7 +12,7 @@ _tdbfile = myroot / 'tokens.db'
class TDB:
def __init__(self):
self.db = Db(_tdbfile, kvrequest_type=KVJson)
self.db = Db(_tdbfile, kvfactory=KVJson())
def _get(self, token_id: str) -> Optional[str]:
return self.db.get(token_id, None)