Skip to content

Commit

Permalink
Return if/else
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrostoff committed Jan 25, 2024
1 parent 8a083d9 commit 44e98d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions draftfast/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ def __init__(
def __repr__(self):
if not str(self):
return "<OptimizerSettings: None>"
else:
return str(self)
return str(self)

def __str__(self):
lines = []
Expand Down

0 comments on commit 44e98d3

Please sign in to comment.