Skip to content

Commit 49a7b53

Browse files
committed
minor cosmetic changes
1 parent 82633a4 commit 49a7b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appengine/standard/xmpp_wikibot/wikibot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def message(self, msg):
111111
msg_body = '%(body)s' % msg
112112
logging.info('Message sent was: ' + msg_body)
113113
encoded_body = urllib.quote_plus(msg_body)
114-
svrResponse = requests.get('https://en.wikipedia.org/w/api.php?action=parse&prop=sections&format=json&page=' + encoded_body)
115-
doc = json.loads(svrResponse.content)
114+
svr_response = requests.get('https://en.wikipedia.org/w/api.php?action=parse&prop=sections&format=json&page=' + encoded_body)
115+
doc = json.loads(svr_response.content)
116116
try:
117117
page_id = str(doc['parse']['pageid'])
118118
defn_url = 'https://en.wikipedia.org/?curid=' + page_id

0 commit comments

Comments
 (0)