From fa580d756b32cd46f735cbbdabc9218bb8df2560 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 9 Feb 2025 23:36:42 +0100 Subject: Apply the same fix for DKDM recipients as we previously had for cinemas. Otherwise the same problem happens with dkdm_recipients.xml - it is moved to sqlite3 but the configuration still has the XML path, causing a crash the next time we try to access the DKDM recipients list. --- src/lib/config.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/config.cc b/src/lib/config.cc index 79584326c..dc33b26bc 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -714,8 +714,9 @@ Config::instance() auto sqlite = dkdm_recipients_file; sqlite.replace_extension(".sqlite3"); + _instance->set_dkdm_recipients_file(sqlite); + if (dcp::filesystem::exists(dkdm_recipients_file) && !dcp::filesystem::exists(sqlite)) { - _instance->set_dkdm_recipients_file(sqlite); DKDMRecipientList recipients; recipients.read_legacy_file(dkdm_recipients_file); } -- cgit v1.2.3