diff --git a/pilot/connections/manages/connection_manager.py b/pilot/connections/manages/connection_manager.py index 58f089dbc..ad97d1fd7 100644 --- a/pilot/connections/manages/connection_manager.py +++ b/pilot/connections/manages/connection_manager.py @@ -108,7 +108,8 @@ class ConnectManager: CFG.LOCAL_DB_PASSWORD, "", ) - if CFG.LOCAL_DB_PATH: + db_type = DBType.of_db_type(CFG.LOCAL_DB_TYPE) + if db_type.is_file_db(): db_name = CFG.LOCAL_DB_NAME db_type = CFG.LOCAL_DB_TYPE db_path = CFG.LOCAL_DB_PATH