Eren Yilmaz 6 lat temu
rodzic
commit
ebc1315d73
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      controller.py

+ 2 - 2
controller.py

@@ -5,8 +5,8 @@ from bottle import request, response
 import model
 import model
 
 
 
 
-def missing_attributes(attrs):
-    for attr in attrs:
+def missing_attributes(attributes):
+    for attr in attributes:
         if attr not in request.json:
         if attr not in request.json:
             return attr
             return attr
         else:
         else: