diff --git a/sapl/utils.py b/sapl/utils.py index 5dabd2cf6..c812fdcb9 100644 --- a/sapl/utils.py +++ b/sapl/utils.py @@ -349,7 +349,7 @@ def choice_anos(model): try: anos_list = model.objects.all().distinct( 'ano').order_by('-ano').values_list('ano', 'ano') - return anos_list + return list(anos_list) except Exception: return []