Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-bpm-web-server
Commits
4e60b85f
Commit
4e60b85f
authored
Nov 22, 2022
by
Stuart Fisher
Browse files
deal with potential casing differences
parent
bed65a0e
Pipeline
#94081
passed with stages
in 3 minutes and 55 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
webserver.py
View file @
4e60b85f
...
...
@@ -132,7 +132,7 @@ class BVWebserver:
def
find_camera
(
self
,
attr
):
"""Find the correct camera personal_name from a device attr"""
for
camera_name
,
camera_info
in
self
.
cameras_running
.
items
():
if
camera_info
[
0
].
name
()
in
attr
or
camera_info
[
1
].
name
()
in
attr
:
if
camera_info
[
0
].
name
()
.
lower
()
in
attr
.
lower
()
or
camera_info
[
1
].
name
()
.
lower
()
in
attr
.
lower
()
:
return
camera_name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment