summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/res/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res/urls.py b/res/res/urls.py
index dc43975..29e1126 100644
--- a/res/res/urls.py
+++ b/res/res/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 res.pub.utils.restcall import req_by_msb
req_by_msb(MSB_SVC_URL, "DELETE")