modified celery
incomaptible type comparision - python