summaryrefslogtreecommitdiff
path: root/swiftstory/game_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftstory/game_manager.py')
-rw-r--r--swiftstory/game_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftstory/game_manager.py b/swiftstory/game_manager.py
index 2429d92..ef57e5d 100644
--- a/swiftstory/game_manager.py
+++ b/swiftstory/game_manager.py
@@ -42,7 +42,7 @@ class GameManager:
""" List available languages based on FS. """
return pkg_resources.resource_listdir(__name__, "data/lang")
- def find_by_name(self, game_name: str, lang: str, create=True) -> Game:
+ def find_by_name(self, game_name: str, lang: str, create: bool = True) -> Game:
""" Find and return the game that matches the name and language
specified. If the game does not exist but create is set to True, a new
game will be created. """