[Del] remove duplicate line

This commit is contained in:
vn.py 2019-05-21 11:11:51 +08:00
parent 8dd4d94885
commit 9e5258b8df

View File

@ -311,8 +311,6 @@ def init_models(db: Database, driver: Driver):
else:
for c in chunked(dicts, 50):
DbTickData.insert_many(c).on_conflict_replace().execute()
DbTickData.insert_many(
c).on_conflict_replace().execute()
db.connect()
db.create_tables([DbBarData, DbTickData])