Fix a syntax error from r7266 (and a disconnected spelling error while we're at it)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7267 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
0c7f44ee70
commit
6618674111
|
@ -90,12 +90,12 @@ class GameDB:
|
|||
# only games with a valid description
|
||||
def getGames(self):
|
||||
""" filter all games with a valid description """
|
||||
for game in self.getAllGames()
|
||||
for game in self.getAllGames():
|
||||
if game.description:
|
||||
yield game
|
||||
|
||||
def getAllGames(self):
|
||||
""" return all knwon games """
|
||||
""" return all known games """
|
||||
with self.lock:
|
||||
for game in self.list:
|
||||
yield game
|
||||
|
|
Loading…
Reference in New Issue