summaryrefslogtreecommitdiffstats
path: root/zte
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-09-25 16:53:19 +0800
committerdengyh <dengyuanhong@chinamobile.com>2020-09-25 16:53:23 +0800
commita8a4d6a0f1abf83cbb596a375f453d99fb2c8ed0 (patch)
treeb13c09fc945aeadc7061698d835295d40bbeaa37 /zte
parent6dba8a807a492fe1632f9fc66215e007d165abb3 (diff)
Fixed duplicate oom registration for local programs
Issue-ID: VFC-1752 Change-Id: I9ef91d8ba9680a14b5a8dd3547f2c7deda89e1f0 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'zte')
-rw-r--r--zte/vmanager/driver/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zte/vmanager/driver/urls.py b/zte/vmanager/driver/urls.py
index 364c8e83..8fe1659d 100644
--- a/zte/vmanager/driver/urls.py
+++ b/zte/vmanager/driver/urls.py
@@ -21,7 +21,7 @@ urlpatterns = [
]
# regist to MSB when startup
-if REG_TO_MSB_WHEN_START:
+if REG_TO_MSB_WHEN_START == "true":
import json
from driver.pub.utils.restcall import req_by_msb
req_by_msb(REG_TO_MSB_REG_URL, "POST", json.JSONEncoder().encode(REG_TO_MSB_REG_PARAM))