From a67e500c59fbc9868149683568b2819b8c7c9b44 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Fri, 7 Jun 2024 19:01:52 +0900 Subject: [PATCH] remove unnecssary prints --- src/browser_history_merger/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/browser_history_merger/__init__.py b/src/browser_history_merger/__init__.py index 417052b..6f612db 100644 --- a/src/browser_history_merger/__init__.py +++ b/src/browser_history_merger/__init__.py @@ -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