feat: 移除未使用的 turtledemo.penrose 导入,优化代码整洁性
This commit is contained in:
parent
93bbc4770d
commit
ab1a2408f6
5
DB.py
5
DB.py
@ -41,6 +41,7 @@ video_op = Table(
|
|||||||
Column("updatetime", Integer),
|
Column("updatetime", Integer),
|
||||||
Column("batch", BigInteger),
|
Column("batch", BigInteger),
|
||||||
Column("machine", Integer),
|
Column("machine", Integer),
|
||||||
|
Column("is_repeat", Integer),
|
||||||
)
|
)
|
||||||
|
|
||||||
video = Table(
|
video = Table(
|
||||||
@ -532,4 +533,6 @@ class DBSA:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"[DBSA] flush FAIL: {e} op={len(op_rows)} video={len(vid_rows)}")
|
print(f"[DBSA] flush FAIL: {e} op={len(op_rows)} video={len(vid_rows)}")
|
||||||
for row in vid_rows:
|
for row in vid_rows:
|
||||||
cls.push_record(row)
|
db = DBVidcon()
|
||||||
|
db.push_record(row)
|
||||||
|
db.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user