Skip to content

Commit

Permalink
Apply changes suggested by @naglis
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 Dec 15, 2023
1 parent da4c2cf commit 8abcb62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cozy/model/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def default_location(self) -> bool:
for location in self.storage_locations:
if location.default:
return True
return False

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

0 comments on commit 8abcb62

Please sign in to comment.