mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
raspberrypi(2): minor fast network camera fix
This commit is contained in:
parent
9392e3fd57
commit
dfc9795761
@ -421,6 +421,7 @@ def _set_streameye_settings(camera_id, s):
|
||||
for line in lines:
|
||||
f.write(line + '\n')
|
||||
|
||||
if 1 in config.get_camera_ids():
|
||||
# a workaround to update the camera username and password
|
||||
# since we cannot call set_camera() from here
|
||||
if s['seAuthMode'] == 'basic':
|
||||
|
@ -421,6 +421,7 @@ def _set_streameye_settings(camera_id, s):
|
||||
for line in lines:
|
||||
f.write(line + '\n')
|
||||
|
||||
if 1 in config.get_camera_ids():
|
||||
# a workaround to update the camera username and password
|
||||
# since we cannot call set_camera() from here
|
||||
if s['seAuthMode'] == 'basic':
|
||||
|
Loading…
x
Reference in New Issue
Block a user