Skip to content

Commit

Permalink
Fix redundant logical condition
Browse files Browse the repository at this point in the history
Cherry picked from @mauritsvanrees PR
#715
  • Loading branch information
ale-rt committed Apr 19, 2024
1 parent 11d3623 commit 9de54ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/euphorie/client/browser/risk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,9 +1185,7 @@ def risk_present(self):

@property
def risk_postponed(self):
return self.context.identification is None and (
(self.italy_special and self.context.postponed) or True
)
return self.context.identification is None

@property
def use_problem_description(self):
Expand Down

0 comments on commit 9de54ac

Please sign in to comment.