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()