summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-09-25 16:17:42 +0800
committerdengyh <dengyuanhong@chinamobile.com>2020-09-25 16:18:42 +0800
commitbe7e81ee18e8453c3e9470a497c467e09787b6c7 (patch)
tree07fd93b4741fe78f4d104d3d269c3a48da5582a5
parent4bef0e2e072a278491febbd3ee94fb5087f4c282 (diff)
Fixed duplicate oom registration for local programs
Issue-ID: VFC-1752 Change-Id: Iba6eb8d5a194112ae520f23d06637574901e1a84 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
-rw-r--r--lcm/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/urls.py b/lcm/urls.py
index 0af60a19..b016d1c4 100644
--- a/lcm/urls.py
+++ b/lcm/urls.py
@@ -33,7 +33,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
req_by_msb(MSB_SVC_URL % "v1", "DELETE")