Eren Yilmaz 6 年之前
父節點
當前提交
ebc1315d73
共有 1 個文件被更改,包括 2 次插入2 次删除
  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: