diff --git a/dsp_permissions_scripts/oap/oap_get.py b/dsp_permissions_scripts/oap/oap_get.py index bb291020..2d729e98 100644 --- a/dsp_permissions_scripts/oap/oap_get.py +++ b/dsp_permissions_scripts/oap/oap_get.py @@ -149,5 +149,5 @@ def get_all_oaps_of_project( for resclass_iri in resclass_iris: oaps = _get_all_oaps_of_resclass(resclass_iri, project_iri, dsp_client, oap_config) all_oaps.extend(oaps) - logger.info(f"Retrieved a TOTAL of {len(oaps)} OAPs") + logger.info(f"Retrieved a TOTAL of {len(all_oaps)} OAPs") return all_oaps