소스 검색

去除测试代码

tanghongbin 4 년 전
부모
커밋
ead566375d
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      Controller/UIDController.py

+ 0 - 2
Controller/UIDController.py

@@ -183,8 +183,6 @@ class UIDView(View):
     def do_update(self, datas, updates, savePoint, count=0):
         try:
             try:
-                if count == 2:
-                    raise Exception("Invalid level!")
                 UserUIDModel.objects.bulk_create(datas)
                 UIDModel.objects.bulk_update(updates, fields=['status', 'update_time'])
                 datas.clear()