mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[utils] Also make raw game name (lowercase) a valid alias
This commit is contained in:
parent
5960cb8699
commit
a116013f05
|
@ -50,6 +50,7 @@ def generate_aliases(game_name, game_folder=None, split_words=True):
|
||||||
game_parts = [p for p in game_parts if p]
|
game_parts = [p for p in game_parts if p]
|
||||||
|
|
||||||
_aliases = [
|
_aliases = [
|
||||||
|
game_name.lower().strip(),
|
||||||
' '.join(game_parts),
|
' '.join(game_parts),
|
||||||
''.join(game_parts),
|
''.join(game_parts),
|
||||||
''.join(roman.get(p, p) for p in game_parts),
|
''.join(roman.get(p, p) for p in game_parts),
|
||||||
|
|
Loading…
Reference in a new issue