OSIS-3229 Simplify conditional logic
OSIS-3229 Simplify conditional logic

	modified:   base/tasks.py

uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/osis,uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/OSIS-Louvain,uclouvain/osis