Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
smartpublicbuilding
openhab-pb-stack
Commits
e31730b9
Commit
e31730b9
authored
Mar 05, 2019
by
dobli
Browse files
fixed path of device script
parent
15aa0c15
Changes
1
Hide whitespace changes
Inline
Side-by-side
building_manager.py
View file @
e31730b9
...
...
@@ -1418,10 +1418,10 @@ def device_menu(args):
base_dir
=
os
.
getcwd
()
# Check if device scripts are installed
bin_path
=
'usr/bin/enable-swarm-device'
bin_path
=
'
/
usr/bin/enable-swarm-device'
choices
=
[
'Install device scripts'
]
if
not
os
.
path
.
exists
(
bin_path
):
if
os
.
path
.
exists
(
bin_path
):
choices
.
append
(
'Link device to service'
)
choices
.
append
(
'Exit'
)
...
...
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