fix for new pip

This commit is contained in:
2025-09-15 19:47:32 +03:00
parent dcdd7db33d
commit ce962bfb40

View File

@@ -321,7 +321,7 @@ PIVector<PIHIDeviceInfo> PIHIDevice::allDevices(bool try_open) {
#ifndef WINDOWS
auto readFile = [](const PIString & path) {
auto ba = PIFile::readAll(path, true);
auto ba = PIFile::readAll(path);
PIString ret;
for (const auto & b: ba) {
if (!PIChar(b).isAscii()) break;