yahooanswers: flip answer / link order

This commit is contained in:
Ryan Hitchman 2014-01-30 18:46:37 -08:00
parent 19922cdfee
commit f6fc544227
1 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,6 @@ def answer(inp, api_key=None):
chosen = choice(answered)
answer, link = chosen["ChosenAnswer"], chosen["Link"]
response = "%s -- %s" % (link, answer)
response = "%s -- %s" % (answer, link)
return " ".join(response.split())