Always print short description

This commit is contained in:
George Lacey 2021-05-11 16:30:33 +01:00
parent 1dd2c0726f
commit d901aaa210

View File

@ -71,5 +71,4 @@ class Location(models.Model):
type_description = self.type_description() type_description = self.type_description()
existence = "exists" if self.exists() else "does not exist" existence = "exists" if self.exists() else "does not exist"
if self.exists():
return f"{type_description} {self.path} {existence}" return f"{type_description} {self.path} {existence}"