fix #4078
This commit is contained in:
parent
bc35c82619
commit
7d84409628
@ -75,7 +75,7 @@ def _find_system_cameras():
|
||||
if os.path.exists(device_root):
|
||||
for device in os.listdir(device_root):
|
||||
try:
|
||||
with open(os.path.join(device_root, device, 'name')) as f:
|
||||
with open(os.path.join(device_root, device, 'name'), encoding='utf-8') as f:
|
||||
name = f.read()
|
||||
except IOError:
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user