Fix other usages of Puppet.get_displayname

This commit is contained in:
Tulir Asokan
2021-03-23 20:21:46 +02:00
parent abfefab545
commit f9a6e9c4fb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ class Puppet(BasePuppet):
name = str(info.id)
quality = 0
return cls.displayname_template.format_full(name) if enable_format else name, quality
return (cls.displayname_template.format_full(name) if enable_format else name), quality
async def try_update_info(self, source: 'AbstractUser', info: User) -> None:
try: