Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HEV - High Energy Ventilator
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
HEV - High Energy Ventilator
Commits
82b82385
Commit
82b82385
authored
4 years ago
by
Dónal Murray
Browse files
Options
Downloads
Patches
Plain Diff
Make hevserver backwards compatible for CMD_START and STOP
parent
77f35359
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
raspberry-dataserver/hevserver.py
+1
-0
1 addition, 0 deletions
raspberry-dataserver/hevserver.py
with
1 addition
and
0 deletions
raspberry-dataserver/hevserver.py
+
1
−
0
View file @
82b82385
...
...
@@ -100,6 +100,7 @@ class HEVServer(object):
# temporary, since CMD_START and CMD_STOP are now deprecated
reqcmdtype
=
"
GENERAL
"
# fake a general command
logging
.
warning
(
"
CMD_START AND CMD_STOP are deprecated and will be removed in a future release.
"
)
reqcmd
=
reqcmd
.
split
(
"
_
"
)[
1
]
else
:
reqcmdtype
=
request
[
"
cmdtype
"
]
reqparam
=
request
[
"
param
"
]
if
request
[
"
param
"
]
is
not
None
else
0
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment