From 6bcb496215dd104a6bfcf11baf08c46a0151b0f7 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 2 Jan 2016 10:15:22 +0100 Subject: [PATCH] Fix missing self parameter. --- accountant/api/views/scheduled_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountant/api/views/scheduled_operations.py b/accountant/api/views/scheduled_operations.py index 3b46d26..6c4cc2a 100644 --- a/accountant/api/views/scheduled_operations.py +++ b/accountant/api/views/scheduled_operations.py @@ -72,7 +72,7 @@ class ScheduledOperationListResource(Resource): ).all() @marshal_with_field(Object(resource_fields)) - def post(): + def post(self): """ Add a new scheduled operation. """