syntax
This commit is contained in:
@@ -10,5 +10,5 @@ class DisplayFactory:
|
||||
return SpecialDisplay(name)
|
||||
|
||||
def createPlayerDisplay(self, id):
|
||||
name = next(displayName['name'] for displayName in self.displayNames if "Player" in displayName['name']' and str(id) in displayName['name'])
|
||||
name = next(displayName['name'] for displayName in self.displayNames if "Player" in displayName['name'] and str(id) in displayName['name'])
|
||||
return PlayerDisplay(name)
|
||||
|
||||
Reference in New Issue
Block a user