From fb5f02ce741e36a68744e8887f8b91d663fa2aaa Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 8 Feb 2010 13:40:59 +0000 Subject: [PATCH] (wikiput): Quoted 1 to avoid an error reported by labancle on #oddmuse. --- wikiupload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wikiupload b/wikiupload index a1d10a41..5af16ab0 100755 --- a/wikiupload +++ b/wikiupload @@ -19,7 +19,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -# $Id: wikiupload,v 1.7 2009/10/13 22:29:51 as Exp $ +# $Id: wikiupload,v 1.8 2010/02/08 13:40:59 as Exp $ import mimetypes, httplib, urllib, re, urlparse, sys, getopt from time import time @@ -84,7 +84,7 @@ def wikiput(where, filename, [ 'summary', summary ], [ 'username', username ], [ 'pwd', password ], - [ 'question', 1 ], + [ 'question', "1" ], [ 'recent_edit', recent_edit ]] (content_type, body) = encode_multipart_formdata(params, type, files); headers = {'Content-Type': content_type}