mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Fix 11982 - uvc don't handle null as username (#11984)
This commit is contained in:
committed by
Fabian Affolter
parent
a3fc2c7fee
commit
3c869c6ed6
@@ -127,6 +127,9 @@ class UnifiVideoCamera(Camera):
|
||||
else:
|
||||
client_cls = uvc_camera.UVCCameraClient
|
||||
|
||||
if caminfo['username'] is None:
|
||||
caminfo['username'] = 'ubnt'
|
||||
|
||||
camera = None
|
||||
for addr in addrs:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user