summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mgr/mgr/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgr/mgr/urls.py b/mgr/mgr/urls.py
index 976857a..e26bd32 100644
--- a/mgr/mgr/urls.py
+++ b/mgr/mgr/urls.py
@@ -23,7 +23,7 @@ urlpatterns = [
]
# regist to MSB when startup
-if REG_TO_MSB_WHEN_START:
+if REG_TO_MSB_WHEN_START == "true":
import json
from mgr.pub.utils.restcall import req_by_msb
req_by_msb(MSB_SVC_URL, "DELETE")