Skip to content
Snippets Groups Projects
Commit 3f581974 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Fix flake8 errors

parent 58629ea6
No related branches found
No related tags found
No related merge requests found
import json import json
from django import forms from django import forms
from django.utils.functional import LazyObject
from opentech.apply.categories.models import Category from opentech.apply.categories.models import Category
...@@ -47,7 +46,6 @@ class CategoriesWidget(forms.MultiWidget): ...@@ -47,7 +46,6 @@ class CategoriesWidget(forms.MultiWidget):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.widgets = LazyWidgets(OptionsWidget, Category) self.widgets = LazyWidgets(OptionsWidget, Category)
def decompress(self, value): def decompress(self, value):
data = json.loads(value) data = json.loads(value)
return [ return [
......
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