v3 auth file

This commit is contained in:
BarsTiger
2023-06-26 14:02:29 +03:00
parent a545028d45
commit cb3529d227
5 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1 @@
pass

View File

@@ -0,0 +1,10 @@
import sqlitedict
class AuthFile(sqlitedict.SqliteDict):
def __init__(self, service):
super().__init__(
filename=f'{service}.auth',
tablename='auth',
autocommit=True
)