[gcompris/gcomprismusic] minor error corrected
- From: Karthik Subramanian <karthiks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprismusic] minor error corrected
- Date: Tue, 12 Jul 2011 06:29:37 +0000 (UTC)
commit 5e6833b860cd2145d0102797cc62b53b2acbedbd
Author: Karthik Subramanian <itskarthik s gmail com>
Date: Tue Jul 12 11:59:08 2011 +0530
minor error corrected
src/piano-activity/piano.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/piano-activity/piano.py b/src/piano-activity/piano.py
index e8e5208..dd3ca47 100644
--- a/src/piano-activity/piano.py
+++ b/src/piano-activity/piano.py
@@ -454,9 +454,8 @@ class Gcompris_piano:
notesarray = notes.split(' ')
print notesarray
for note in notesarray:
- if len(note)==3:
- note[1]='#'
- elif note=='':
+ note = note.replace('h','#')
+ if note=='':
break
song.append((''+note+'',3))
song.append(('r',3))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]