summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-09-25 16:40:52 +0800
committerdengyh <dengyuanhong@chinamobile.com>2020-09-25 16:40:57 +0800
commit82bc77f537c6a3ecdf60dc7dfc7917bbe7c35367 (patch)
tree5740516de8f31083136e225eb8d91691ba508d30
parent9d6912b0cf9fc1880808ee10520019a3e819e211 (diff)
Fixed duplicate oom registration for local programs
Issue-ID: VFC-1752 Change-Id: I8ce6a265112355d26137d19852f734d6c0c6ede0 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
-rw-r--r--lcm/lcm/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/urls.py b/lcm/lcm/urls.py
index 4ff7e862..d7a7a1d2 100644
--- a/lcm/lcm/urls.py
+++ b/lcm/lcm/urls.py
@@ -29,7 +29,7 @@ urlpatterns = [
]
# regist to MSB when startup
-if REG_TO_MSB_WHEN_START:
+if REG_TO_MSB_WHEN_START == "true":
import json
from lcm.pub.utils.restcall import req_by_msb