remove unnecssary prints

This commit is contained in:
qwjyh 2024-06-07 19:01:52 +09:00
parent b3c9013f75
commit a67e500c59

View file

@ -269,8 +269,6 @@ def add_db(
updating_urls,
)
print(f"Wrote {root_cur.rowcount} urls")
root_con.commit()
print(f"Wrote {root_cur.rowcount} urls")
logging.info("updated urls in new visits")
res = cur.execute(select_visit_sql, [visits_time_max])
new_visits = (
@ -295,8 +293,6 @@ def add_db(
new_visits,
)
print(f"Wrote {root_cur.rowcount} visits")
root_con.commit()
print(f"Wrote {root_cur.rowcount} visits")
logging.info("added new visits")
# update visits_time_max