Skip to content
Snippets Groups Projects
Commit e33f8e99 authored by vimal1083's avatar vimal1083 Committed by Fredrik Jonsson
Browse files

Fix lint issue

parent cb19a679
No related branches found
No related tags found
No related merge requests found
......@@ -48,14 +48,14 @@ class SubmissionsFilter(filters.FilterSet):
model = ApplicationSubmission
fields = ('status', 'round', 'active', 'submit_date', 'fund', 'screening_statuses', 'reviewers', 'lead')
def filter_active(self, qs, name, value):
if value is None:
return qs
if value:
return qs.active()
else:
return qs.inactive()
def filter_active(self, qs, name, value):
if value is None:
return qs
if value:
return qs.active()
else:
return qs.inactive()
class NewerThanFilter(filters.ModelChoiceFilter):
......
......@@ -14,7 +14,13 @@ from hypha.apply.activity.messaging import MESSAGES, messenger
from hypha.apply.activity.models import COMMENT, Activity
from hypha.apply.determinations.views import DeterminationCreateOrUpdateView
from hypha.apply.funds.models import ApplicationSubmission, RoundsAndLabs
from hypha.apply.funds.tables import get_reviewers, get_round_leads, get_screening_statuses, get_used_rounds, get_used_funds
from hypha.apply.funds.tables import (
get_reviewers,
get_round_leads,
get_screening_statuses,
get_used_funds,
get_used_rounds,
)
from hypha.apply.funds.workflow import STATUSES
from hypha.apply.review.models import Review
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment