mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +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:
|
else:
|
||||||
client_cls = uvc_camera.UVCCameraClient
|
client_cls = uvc_camera.UVCCameraClient
|
||||||
|
|
||||||
|
if caminfo['username'] is None:
|
||||||
|
caminfo['username'] = 'ubnt'
|
||||||
|
|
||||||
camera = None
|
camera = None
|
||||||
for addr in addrs:
|
for addr in addrs:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user