Skip to content

Commit

Permalink
make return statement more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Jan 20, 2022
1 parent b8cd58d commit 7f3299f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop_client/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def __repr__(self) -> str:

@property
def deleted(self) -> bool:
return True if self.username == "deleted" else False
return self.username == "deleted"

@property
def fullname(self) -> str:
Expand Down

0 comments on commit 7f3299f

Please sign in to comment.