Eren Yilmaz %!s(int64=6) %!d(string=hai) anos
pai
achega
ebc1315d73
Modificáronse 1 ficheiros con 2 adicións e 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: