mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix 11982 - uvc don't handle null as username (#11984)
This commit is contained in:
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user