X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/0adb475173e22229c0eb5c6c79b8a8488894b7c9..b2d4a94dcd881e16c188b1efcb253f24873d8616:/src/app/event_pprinters.py diff --git a/src/app/event_pprinters.py b/src/app/event_pprinters.py index 2f77809..0f56915 100755 --- a/src/app/event_pprinters.py +++ b/src/app/event_pprinters.py @@ -1,9 +1,21 @@ +# -*- coding: utf-8 -*- +""" +formatage des événements + +$Id$ +$URL$ +""" + from events import eventNames import sys self = sys.modules[__name__] def log_COLDOWN(e) : - return '%s' % e.column.tone.nom + tone = e.column.tone + return '%s (%s)' % (e.midi, e.nom) + +def log_COLSTATECHANGE(e) : + return u'%5s %s' % (e.state, e.syllabus) def log_default(e) : return str(e)