This commit is contained in:
SomberNight 2018-09-04 16:31:35 +02:00
parent bc35c82619
commit 7d84409628
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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