From dbb80e207ba8ff48580f554b83d6fac40655f044 Mon Sep 17 00:00:00 2001 From: agres Date: Mon, 24 Mar 2025 10:12:03 +0100 Subject: [PATCH] Now the connection witch is initialised is cleanly closed by the handler --- src/gdpr_export.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gdpr_export.py b/src/gdpr_export.py index c75396e..222696a 100644 --- a/src/gdpr_export.py +++ b/src/gdpr_export.py @@ -148,3 +148,4 @@ def export_gdpr_data(n_limit: int = 100) -> None: all_songs_catalogued = _populate_ids(all_songs_played) all_songs_played = _fill_missing_ids(all_songs_played, all_songs_catalogued) _insert_data_into_db(all_songs_played) + db.close(__name__)