mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
fix #4078
This commit is contained in:
parent
bc35c82619
commit
7d84409628
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue