Skip to content

Commit

Permalink
Fixing some linting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdworschak committed Oct 12, 2021
1 parent 4bf0f5a commit 8dc853c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accounts/fixtures/statuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@
"display_order": 13
}
}
]
]
2 changes: 1 addition & 1 deletion accounts/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class Meta:
)

def __init__(self, *args, **kwargs):
""" Adding extra dropdown options if user is superuser or staff """
instance = kwargs.get('instance', None)

super(EditProfileForm, self).__init__(*args, **kwargs)

if instance:
Expand Down

0 comments on commit 8dc853c

Please sign in to comment.