bbolli/tumblr-utils — pull request #4 by satonaoya (2012-11-05 19:16:47+00:00)
Title: Fix unicode errors

I got two unicode errors, so I fixed. (Japanese environment.)
The details are as follows:

1:

File "./tumblr_backup.py", line 441, in get_post
post += '

%s\n' % time.strftime('%x %X', self.tm)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 44: ordinal not in range(128)

2:

File "./tumblr_backup.py", line 204, in save_index
idx.write('

Generated on %s.

\n' % time.strftime('%x %X'))
...
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 44: ordinal not in range(128)

Thanks for this tool!