Commits

Christophe-Marie Duquesne committed 5764cae

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

  • Participants
  • Parent commits 39d93dd

Comments (0)

Files changed (1)

         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()