1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00
This commit is contained in:
urlbot
2015-07-19 20:42:20 +02:00
parent 77ab5baaec
commit 52fb4d11d3

View File

@@ -675,7 +675,7 @@ def command_wp(argv, lang='de', **args):
if 'wp' != argv[0]: if 'wp' != argv[0]:
return return
log.plugin('wp plugin called') log.plugin('plugin called')
query = ' '.join(argv[1:]) query = ' '.join(argv[1:])
@@ -698,7 +698,7 @@ def command_wp(argv, lang='de', **args):
lang, urllib.parse.urlencode(api) lang, urllib.parse.urlencode(api)
) )
log.plugin('wp: fetching %s' % apiurl) log.plugin('fetching %s' % apiurl)
try: try:
response = urllib.request.urlopen(apiurl) response = urllib.request.urlopen(apiurl)