diff options
Diffstat (limited to 'python/task_server')
| -rw-r--r-- | python/task_server/rest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/task_server/rest.py b/python/task_server/rest.py index 5f0805be..8c538d41 100644 --- a/python/task_server/rest.py +++ b/python/task_server/rest.py @@ -54,7 +54,7 @@ def run_tasks(): for dealname, reinvflag in request.form.items(): app.logger.info("Processing {0} with{1} reinvestment".format(dealname, "" if reinvflag=="TRUE" else "out")) - pipe.rpush("tasks", json.dumps({"fun": "build_portfolio", + pipe.rpush("tasks", json.dumps({"fun": "build_portfolios", "args": [workdate, dealname, reinvflag]})) pipe.execute() return '', 200 |
