Merge branch 'master' of github.com:godiard/memorize-activity
Gonzalo Odiard
8 years ago
132 | 132 |
y = 0
|
133 | 133 |
identifier = 0
|
134 | 134 |
|
135 | |
# Don't wnt show robot face for art4apps games
|
136 | |
# even when paly the voice with tts
|
137 | |
show_robot = self.data['origin'] != 'art4apps'
|
|
135 |
# Don't want show robot face for art4apps games
|
|
136 |
# even when playing a voice with text to speech (tts)
|
|
137 |
try:
|
|
138 |
show_robot = self.data['origin'] != 'art4apps'
|
|
139 |
except:
|
|
140 |
show_robot = True
|
138 | 141 |
|
139 | 142 |
for card in self.cards_data:
|
140 | 143 |
if card.get('img', None):
|
57 | 57 |
bg_color='#000000', font_name=model.DEFAULT_FONT,
|
58 | 58 |
show_robot=True):
|
59 | 59 |
Gtk.EventBox.__init__(self)
|
60 | |
logging.error('SvgCard image_path %s', image_path)
|
|
60 |
logging.debug('SvgCard image_path %s', image_path)
|
61 | 61 |
self.bg_color = bg_color
|
62 | 62 |
self.flipped = False
|
63 | 63 |
self.id = identifier
|