Small adjustments

This commit is contained in:
Fabian Dill
2021-04-03 20:02:15 +02:00
parent c14a150795
commit 250099f5fd
4 changed files with 12 additions and 7 deletions

View File

@@ -1111,7 +1111,7 @@ class Location():
@property
def hint_text(self):
return getattr(self, "_hint_text", self.name)
return getattr(self, "_hint_text", self.name.replace("_", " ").replace("-", " "))
class Item():
location: Optional[Location] = None