Skip to content

Commit

Permalink
Merge pull request #1959 from ResearchHub/maintenance
Browse files Browse the repository at this point in the history
[Minor] Remove useless self-assignment
  • Loading branch information
gzurowski authored Nov 4, 2024
2 parents d1b1a3e + 5bf8e71 commit f828afe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hub/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def __str__(self):
return "{}:{}, locked: {}".format(self.namespace, self.name, self.is_locked)

def save(self, *args, **kwargs):
self.name = self.name
self.slugify()
return super(Hub, self).save(*args, **kwargs)

Expand Down

0 comments on commit f828afe

Please sign in to comment.