From cf7428245934751f4a5437dfb16515b42ea3a290 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 18 May 2025 12:49:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=8E=B7=E5=8F=96=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=BA=A7=E5=88=AB=202=20=E7=9A=84=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E4=BB=A5=E5=A2=9E=E5=8A=A0=E6=9C=80=E5=A4=A7=E9=A1=B5?= =?UTF-8?q?=E6=95=B0=E5=92=8C=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DB.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DB.py b/DB.py index 35c4561..4c77b0c 100644 --- a/DB.py +++ b/DB.py @@ -44,10 +44,10 @@ class DBVidcon: def push_record(self, data: dict): raw = json.dumps(data, ensure_ascii=False) try: - self.redis.lpush(self.record_list_key, raw) + self.redis.lpush(self.error_list_key, raw) except redis.exceptions.ConnectionError: self.reconnect_redis() - self.redis.lpush(self.record_list_key, raw) + self.redis.lpush(self.error_list_key, raw) def fetch_records(self, count: int = 100): try: