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
6 years ago
by
dobli
Browse files
Options
Download
Email Patches
Plain Diff
fixed path of device script
parent
15aa0c15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
building_manager.py
+2
-2
building_manager.py
with
2 additions
and
2 deletions
+2
-2
building_manager.py
+
2
-
2
View file @
e31730b9
...
@@ -1418,10 +1418,10 @@ def device_menu(args):
...
@@ -1418,10 +1418,10 @@ def device_menu(args):
base_dir
=
os
.
getcwd
()
base_dir
=
os
.
getcwd
()
# Check if device scripts are installed
# Check if device scripts are installed
bin_path
=
'usr/bin/enable-swarm-device'
bin_path
=
'
/
usr/bin/enable-swarm-device'
choices
=
[
'Install device scripts'
]
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
(
'Link device to service'
)
choices
.
append
(
'Exit'
)
choices
.
append
(
'Exit'
)
...
...
This diff is collapsed.
Click to expand it.
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