From ad97cb9a0f4cfaa1ab0e19d6c7b9a2f714ba443e Mon Sep 17 00:00:00 2001 From: timofey Date: Sun, 20 Nov 2022 23:22:04 +0000 Subject: [PATCH] new db --- requirements.txt | 8 ++++---- v6d3vote/run-bot.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 387648b..fbf43fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@8be67bf834c7acb2d302060025e1a4c87e614cf8 -v6d0auth @ git+https://gitea.parrrate.ru/PTV/v6d0auth.git@f67bdf12ca73087333c07812442b25fd20a5e35d -v6d1tokens @ git+https://gitea.parrrate.ru/PTV/v6d1tokens.git@cbaf3df2facba2fe7951fa6d5e9325844844e9e7 -v6d2ctx @ git+https://gitea.parrrate.ru/PTV/v6d2ctx.git@1422f0a7628af65eb4f388cf0ebe384bede3164b +ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@87ba808c2af1be87f4fbb9d9b3b97ba748cb9fae +v6d0auth @ git+https://gitea.parrrate.ru/PTV/v6d0auth.git@324236f435c92756aefe22877a97a906c462ef2c +v6d1tokens @ git+https://gitea.parrrate.ru/PTV/v6d1tokens.git@96567a0cb0c3cb60f20647518df5370df6dc6664 +v6d2ctx @ git+https://gitea.parrrate.ru/PTV/v6d2ctx.git@cbfae4ad868403e4133863b321ca615cc1c26086 rainbowadn @ git+https://gitea.parrrate.ru/PTV/rainbowadn.git@e9fba7b064902ceedee0dd5578cb47030665a6aa diff --git a/v6d3vote/run-bot.py b/v6d3vote/run-bot.py index 164cec5..ac81119 100644 --- a/v6d3vote/run-bot.py +++ b/v6d3vote/run-bot.py @@ -27,7 +27,7 @@ client = discord.Client( reactions=True, ) ) -vote_db = Db(myroot / 'vote.db', kvrequest_type=KVJson) +vote_db = Db(myroot / 'vote.db', kvfactory=KVJson()) @client.event