Making PEP happy

This commit is contained in:
Oliver Walters 2019-06-02 12:47:40 +10:00
parent 802ff35cf3
commit 6982b2f0c2
2 changed files with 4 additions and 4 deletions

View File

@ -198,7 +198,7 @@ class InvenTreeTree(models.Model):
def __str__(self):
""" String representation of a category is the full path to that category """
return "{path} - {desc}".format(path=self.pathstring, desc=self.description)
return self.pathstring
@receiver(pre_delete, sender=InvenTreeTree, dispatch_uid='tree_pre_delete_log')