Skip to content

Commit 2284859

Browse files
authored
Merge pull request #23 from apple1417/master
fix enum name linting
2 parents a72cb09 + 6cadf99 commit 2284859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bl3_mod_menu/options_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def inner() -> Iterator[BaseOption]:
211211

212212
description = mod.description
213213
if Game.get_current() not in mod.supported_games:
214-
supported = [g.name for g in Game if g in mod.supported_games]
214+
supported = [g.name for g in Game if g in mod.supported_games and g.name is not None]
215215
description = (
216216
"<font color='#ffff00'>Incompatible Game!</font>\r"
217217
"This mod supports: " + ", ".join(supported) + "\n\n" + description

0 commit comments

Comments
 (0)