fix for new pip
This commit is contained in:
@@ -321,7 +321,7 @@ PIVector<PIHIDeviceInfo> PIHIDevice::allDevices(bool try_open) {
|
|||||||
#ifndef WINDOWS
|
#ifndef WINDOWS
|
||||||
|
|
||||||
auto readFile = [](const PIString & path) {
|
auto readFile = [](const PIString & path) {
|
||||||
auto ba = PIFile::readAll(path, true);
|
auto ba = PIFile::readAll(path);
|
||||||
PIString ret;
|
PIString ret;
|
||||||
for (const auto & b: ba) {
|
for (const auto & b: ba) {
|
||||||
if (!PIChar(b).isAscii()) break;
|
if (!PIChar(b).isAscii()) break;
|
||||||
|
|||||||
Reference in New Issue
Block a user