diff downloads/management/commands/dlwgetcat.py @ 875:d5d8e90d08b5

Merge with upstream.
author Brian Neal <bgneal@gmail.com>
date Thu, 25 Dec 2014 17:28:48 -0600
parents b59c154d0163
children bd59a599b9a3
line wrap: on
line diff
--- a/downloads/management/commands/dlwgetcat.py	Mon Dec 22 20:10:15 2014 -0600
+++ b/downloads/management/commands/dlwgetcat.py	Thu Dec 25 17:28:48 2014 -0600
@@ -48,6 +48,4 @@
             'MEDIA_URL': settings.MEDIA_URL,
             })
 
-        # encode it ourselves since it can fail if you try to redirect output to
-        # a file and any of the content is not ASCII...
-        self.stdout.write(output.encode('utf-8'))
+        self.stdout.write(output)