Commits

Christophe-Marie Duquesne  committed d4d1c78

Fixing encoding problems

  • Participants
  • Parent commits c42242e

Comments (0)

Files changed (1)

File michel/michel.py

         else:
             level = 0
         levels[task['id']] = level
-        sys.stdout.write('\t'.join(['' for i in range(level + 1)]) +
-                task['title'] + '\n')
+        title = task['title'].encode('utf-8')
+        print('\t'.join(['' for i in range(level + 1)]) + title)
 
 def wipe_todolist():
     service = get_service()