From c4f0a02dbc04215d9a630f0968e51d5838b05e03 Mon Sep 17 00:00:00 2001 From: Lewis Kabui Date: Sat, 17 Oct 2020 14:36:32 +0300 Subject: [PATCH] Fix `celery shell` command --- celery/bin/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/celery/bin/shell.py b/celery/bin/shell.py index 966773c5d11..b3b77e02fdb 100644 --- a/celery/bin/shell.py +++ b/celery/bin/shell.py @@ -130,7 +130,7 @@ def shell(ctx, ipython=False, bpython=False, import_module('celery.concurrency.eventlet') if gevent: import_module('celery.concurrency.gevent') - import celery.task.base + import celery app = ctx.obj.app app.loader.import_default_modules()