This commit is contained in:
Kovid Goyal 2025-01-26 11:00:14 +05:30
parent 4de8ffb6f7
commit 43f9daff11
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -211,6 +211,7 @@ single_get_filesystem(unsigned int level, CComPtr<IPortableDeviceContent> &conte
if (!get_properties_failed) return false;
fprintf(stderr, "Ignoring object with id: %ls because getting its properties failed.\n", pv.pwszVal);
if (PyErr_Occurred()) PyErr_Clear();
continue;
}
if (PyDict_SetItem(ans, PyDict_GetItemString(item.ptr(), "id"), item.ptr()) != 0) return false;
if (callback) {