chenjunkai 6 年 前
コミット
f85968844a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Controller/DetectController.py

+ 1 - 1
Controller/DetectController.py

@@ -144,7 +144,7 @@ class DetectControllerView(View):
                                                         uid=uid, m_code=m_code)
                     print(uid_app_qs)
                     if uid_app_qs.exists():
-                        update_dict = {status: 1}
+                        update_dict = {'status': 1}
                         if interval:
                             update_dict['interval'] = int(interval)
                         uid_app_qs.update(**update_dict)