chenshibin 4 жил өмнө
parent
commit
2ab51d5bf7

+ 1 - 1
Controller/SerialNumberController.py

@@ -130,7 +130,7 @@ class SerialNumberView(View):
             if count == 5 and value is False:
                 return response.json(5)
 
-            quantity = int( Q)
+            quantity = int(quantity)
 
             company_serial_qs = CompanySerialModel.objects.filter(company__secret=company_id, status=0)
             if not company_serial_qs.exists():