hurf durf

This commit is contained in:
Chris Skalenda 2010-02-21 22:23:52 -06:00
parent 8531bdd76c
commit f493927eb9
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def wiki(inp):
if not inp: if not inp:
return wiki.__doc__ return wiki.__doc__
q = search_url % (urllib.quote(inp, safe='')) q = search_url % (urllib2.quote(inp, safe=''))
request = urllib2.Request(q) request = urllib2.Request(q)
request.add_header('User-Agent', 'Skybot/1.0 http://bitbucket.org/Scaevolus/skybot/') request.add_header('User-Agent', 'Skybot/1.0 http://bitbucket.org/Scaevolus/skybot/')