Add getExpandedPlayerPathByPath to playerFactory
This commit is contained in:
parent
fbeb69f5cd
commit
d0073c00ff
@ -13,4 +13,10 @@ class PlayerFactory(object):
|
||||
def getPlayerByPath(self, path):
|
||||
for player in self._players:
|
||||
if(player.isValidPlayerPath(path)):
|
||||
return player
|
||||
return player
|
||||
|
||||
def getExpandedPlayerPathByPath(self, path):
|
||||
for player in self._players:
|
||||
if(player.isValidPlayerPath(path)):
|
||||
return player.getExpandedPath(path)
|
||||
return None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user