From fe514e79abc69ffc00af77fd959f9606c5a879e4 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Thu, 1 Sep 2022 20:46:08 -0700 Subject: [PATCH] Added close for import_db --- osxphotos/cli/import_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osxphotos/cli/import_cli.py b/osxphotos/cli/import_cli.py index f64efd9e..c13e3876 100644 --- a/osxphotos/cli/import_cli.py +++ b/osxphotos/cli/import_cli.py @@ -1395,6 +1395,8 @@ def import_cli( progress.advance(task) + import_db.close() + if report: write_report(report_file, report_data, append) verbose(f"Wrote import report to [filepath]{report_file}[/]")