Fixed duplicate oom registration for local programs 53/113153/1
authordengyh <dengyuanhong@chinamobile.com>
Fri, 25 Sep 2020 08:40:52 +0000 (16:40 +0800)
committerdengyh <dengyuanhong@chinamobile.com>
Fri, 25 Sep 2020 08:40:57 +0000 (16:40 +0800)
Issue-ID: VFC-1752
Change-Id: I8ce6a265112355d26137d19852f734d6c0c6ede0
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
lcm/lcm/urls.py

index 4ff7e86..d7a7a1d 100644 (file)
@@ -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