Permalink
Browse files

Adding helpful comment

  • Loading branch information...
1 parent 797cf42 commit 29370ed2a025d1dd8d3e823debf1ceb4f3445ed4 @craigmaloney committed Apr 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/shownotes.py
View
@@ -151,5 +151,6 @@ def main():
f.write('\n'.join([track for track in show.create_cuesheet()]))
if __name__ == '__main__':
+ # Wrap sys.stdout into a StreamWriter to allow writing unicode.
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout)
main()

0 comments on commit 29370ed

Please sign in to comment.