update db
This commit is contained in:
parent
370850ad0a
commit
96567a0cb0
@ -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
|
||||
|
2
setup.py
2
setup.py
@ -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',
|
||||
],
|
||||
},
|
||||
)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user