mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
fix typo in celery backend
This commit is contained in:
parent
c46a403baa
commit
bc7852be21
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class CeleryImageCacheBackend(PessimisticImageCacheBackend):
|
|||
try:
|
||||
from celery.task import task
|
||||
except:
|
||||
raise InvalidImageCacheBackendError("Celery image cache backend requires either the 'celery' library")
|
||||
raise InvalidImageCacheBackendError("Celery image cache backend requires the 'celery' library")
|
||||
if not getattr(CeleryImageCacheBackend, '_task', None):
|
||||
CeleryImageCacheBackend._task = task(generate)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue