Skip to content

Commit

Permalink
style: remove unused disable=broad-except statement
Browse files Browse the repository at this point in the history
This commits removes the unnecessary use of a disable=broad-except statement.
  • Loading branch information
MichaelRoytman committed May 20, 2024
1 parent ec73cf5 commit 169679f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designer/apps/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def access_token(self):
"""
try:
return self.social_auth.first().extra_data['access_token'] # pylint: disable=no-member
except Exception: # pylint: disable=broad-except
except Exception:
return None

class Meta:
Expand Down

0 comments on commit 169679f

Please sign in to comment.