tanghongbin 5 лет назад
Родитель
Сommit
be93aa4c64
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      Controller/FileController.py

+ 3 - 0
Controller/FileController.py

@@ -63,6 +63,9 @@ class UploadUIDFileView(View):
         duplicate = []
         for line in uids:
 
+            if len(line) < 20:
+                continue
+
             if data.__contains__(line):
                 duplicate.append(line)
             else: