Eren Yilmaz hace 6 años
padre
commit
ebc1315d73
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      controller.py

+ 2 - 2
controller.py

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