diff --git a/external_file_location/task.py b/external_file_location/task.py index 8e2460df..11486f1e 100644 --- a/external_file_location/task.py +++ b/external_file_location/task.py @@ -53,7 +53,7 @@ class Task(models.Model): res = [] for cls in itersubclasses(AbstractTask): if cls._synchronize_type \ - and ('protocol' not in self._context + and ('protocol' not in self._context \ or cls._key == self._context['protocol']): cls_info = (cls._key + '_' + cls._synchronize_type, cls._name + ' ' + cls._synchronize_type)