Skip to content

Commit 4beaa53

Browse files
committed
nit: typehint
1 parent 56107cf commit 4beaa53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/games.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def get_name(self, deku_id: str):
172172
document = self.db.find_one({'deku_id': deku_id}, projection={'name': 1})
173173
return document['name'] if document else None
174174

175-
def search(self, query: str, multiResult=False) -> Optional[dict]:
175+
def search(self, query: str, multiResult=False):
176176
gameList = self.gameNamesCache
177177

178178
# If our query isn't short (>5 chars), then filter out short game titles.

0 commit comments

Comments
 (0)