Skip to content

Commit

Permalink
Update cozy/model/settings.py
Browse files Browse the repository at this point in the history
Co-authored-by: Naglis Jonaitis <[email protected]>
  • Loading branch information
rdbende and naglis authored Jan 20, 2024
1 parent 21c5e8b commit af9ec9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cozy/model/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def default_location(self) -> Storage | NoReturn:
for location in self.storage_locations:
if location.default:
return location
assert False, "this should never happen"
raise AssertionError("This should never happen")

@property
def storage_locations(self) -> list[Storage]:
Expand Down

0 comments on commit af9ec9f

Please sign in to comment.