mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26: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:
|
for line in lines:
|
||||||
f.write(line + '\n')
|
f.write(line + '\n')
|
||||||
|
|
||||||
|
if 1 in config.get_camera_ids():
|
||||||
# a workaround to update the camera username and password
|
# a workaround to update the camera username and password
|
||||||
# since we cannot call set_camera() from here
|
# since we cannot call set_camera() from here
|
||||||
if s['seAuthMode'] == 'basic':
|
if s['seAuthMode'] == 'basic':
|
||||||
|
@ -421,6 +421,7 @@ def _set_streameye_settings(camera_id, s):
|
|||||||
for line in lines:
|
for line in lines:
|
||||||
f.write(line + '\n')
|
f.write(line + '\n')
|
||||||
|
|
||||||
|
if 1 in config.get_camera_ids():
|
||||||
# a workaround to update the camera username and password
|
# a workaround to update the camera username and password
|
||||||
# since we cannot call set_camera() from here
|
# since we cannot call set_camera() from here
|
||||||
if s['seAuthMode'] == 'basic':
|
if s['seAuthMode'] == 'basic':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user