1. edgimar
  2. michel-orgmode

Commits

Christophe-Marie Duquesne  committed 5764cae

writing on sys.stdout rather than using print (avoids utf8 errors for me)

  • Participants
  • Parent commits 39d93dd
  • Branches default

Comments (0)

Files changed (1)

File michel/michel.py

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