Skip to content

Commit

Permalink
Removed unnecessary else statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmdthr committed Feb 15, 2024
1 parent 21373f9 commit 8e85224
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geonode/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ def name(self):
if not self.title:
if len(self.files) > 0:
return self.files[0].split("/")[-1]
else:
return str(self.id)
else:
return self.title

Expand Down

0 comments on commit 8e85224

Please sign in to comment.