forked from github/kensanata.oddmuse
(wikiput): Quoted 1 to avoid an error reported by
labancle on #oddmuse.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user