44b42baee4
but without the overkill of GNOME environment. Also the use of the SDL libraries makes smooth animation and the playing of sound very easy. Childsplay uses a plugin system for the games, so you might want to check the childsplay-plugins page. (There are two built-in games; Memory and a typing game) PR: ports/68953 Submitted by: bruno <bruno@mail.tinkerbox.org>
15 lines
667 B
Python
15 lines
667 B
Python
--- lib/letters.py.orig Tue Jun 29 10:42:05 2004
|
|
+++ lib/letters.py Mon Jul 12 10:15:43 2004
|
|
@@ -80,7 +80,11 @@
|
|
loc = 'en'
|
|
self.trans_descr_pics = {}
|
|
for k,v in descr_pics.items():
|
|
- found = parser.find_names((('file',k),('description',loc)))[0]
|
|
+ try:
|
|
+ found = parser.find_names((('file',k),('description',loc)))[0]
|
|
+ except TypeError:
|
|
+ if DEBUG: print >> sys.stderr,"Error in names searching, assetml","descr_pics",descr_pics,"locale",loc
|
|
+ found = None
|
|
if found:
|
|
self.trans_descr_pics[found.upper()] = v
|
|
else:
|