summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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