bunch'o'stuff
This commit is contained in:
parent
2fa3a5a015
commit
fb08870f4a
3 changed files with 15 additions and 11 deletions
|
@ -37,9 +37,9 @@ def wolframalpha(inp, bot=None):
|
|||
if subpod:
|
||||
results.append(subpod)
|
||||
if results:
|
||||
pod_texts.append(title + ': ' + ', '.join(results))
|
||||
pod_texts.append(title + u': ' + u', '.join(results))
|
||||
|
||||
ret = ' - '.join(pod_texts)
|
||||
ret = u' - '.join(pod_texts)
|
||||
|
||||
if not pod_texts:
|
||||
return 'No results.'
|
||||
|
@ -56,4 +56,4 @@ def wolframalpha(inp, bot=None):
|
|||
if not ret:
|
||||
return 'No results.'
|
||||
|
||||
return "{} - {}".format(ret, short_url)
|
||||
return u"{} - {}".format(ret, short_url)
|
||||
|
|
Reference in a new issue