changeset 3:672addc0c4be

more fixup
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 20 Dec 2011 12:44:40 -0800
parents 79a43cbdf584
children 6ec69ecbc072
files clwapp/clwapp.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/clwapp/clwapp.py	Tue Dec 20 11:34:10 2011 -0800
+++ b/clwapp/clwapp.py	Tue Dec 20 12:44:40 2011 -0800
@@ -54,7 +54,7 @@
         args = self.command + self.request.GET.keys()
         process = subprocess.Popen(args, stdout=subprocess.PIPE)
         output = process.communicate()[0]
-        output = output.decode('utf-8', errors='ignore')
+        output = output.decode('utf-8', 'ignore')
         title = ' '.join([os.path.basename(args[0])] + args[1:])
         return self.get_response("""<html><head><title>%s</title></head><body><pre>
 %s