From ab1a2408f647153c7f0815ce7738383b282c7341 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 21 May 2025 01:13:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20turtledemo.penrose=20=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E6=95=B4=E6=B4=81?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DB.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DB.py b/DB.py index 30840cf..2f8685b 100644 --- a/DB.py +++ b/DB.py @@ -41,6 +41,7 @@ video_op = Table( Column("updatetime", Integer), Column("batch", BigInteger), Column("machine", Integer), + Column("is_repeat", Integer), ) video = Table( @@ -532,4 +533,6 @@ class DBSA: except Exception as e: print(f"[DBSA] flush FAIL: {e} op={len(op_rows)} video={len(vid_rows)}") for row in vid_rows: - cls.push_record(row) + db = DBVidcon() + db.push_record(row) + db.close()