Browse Source

Correction d'un bug d'encodage de caractères

remotes/origin/next
Louis 12 years ago
parent
commit
5cf91630a1
  1. 3
      utils/songs.py

3
utils/songs.py

@ -30,5 +30,8 @@ class beginsong(plasTeX.Command):
# Parsing keyval arguments
args = {}
for (key, val) in self.attributes['args'].iteritems():
if type(val) == unicode:
args[key] = val.encode('utf-8')
else:
args[key] = val.textContent.encode('utf-8')
self.attributes['args'] = args

Loading…
Cancel
Save