You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that request object can contain properties with None value. As a result properites will be None instead of an empty dictionary which will cause an exception when the next line tries to call .get on it.
Update: It might be easily fixable with the following change:
properties=getattr(request, 'properties') or {}
The text was updated successfully, but these errors were encountered:
PR #261 introduced a new bug with the following lines:
django-celery-results/django_celery_results/backends/database.py
Lines 43 to 44 in 5f47db6
The problem is that
request
object can containproperties
withNone
value. As a resultproperites
will beNone
instead of an empty dictionary which will cause an exception when the next line tries to call.get
on it.Update: It might be easily fixable with the following change:
The text was updated successfully, but these errors were encountered: