Skip to content

Commit

Permalink
Remove __init__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Oct 8, 2024
1 parent 1bb7488 commit 5e9e757
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions python/nav/web/ipdevinfo/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,4 @@ class BooleanSensorForm(forms.Form):
label='What to display in "on" state', choices=Sensor.ALERT_TYPE_CHOICES
)

def __init__(self, *args, **kwargs):
"""Init"""
super(BooleanSensorForm, self).__init__(*args, **kwargs)

self.attrs = set_flat_form_attributes(
form_fields=[
self["on_message"],
self["off_message"],
self["on_state"],
self["alert_type"],
]
)
attrs = set_flat_form_attributes()

0 comments on commit 5e9e757

Please sign in to comment.