From f5cce5b9bf97cc28bb6422a99244f7788fc040bd Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 12 Apr 2023 02:50:50 +0300 Subject: [PATCH] clear lock on launch --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 74ea58f..f6e2231 100644 --- a/main.py +++ b/main.py @@ -161,6 +161,7 @@ async def update(msg: Message): async def background_on_start(): + await redis.delete('e621:update') while True: logging.warning('Checking updates...') try: