Explorar o código

去除测试代码

tanghongbin %!s(int64=4) %!d(string=hai) anos
pai
achega
ead566375d
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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()