Changed formatting > text
This commit is contained in:
parent
d34b14dfde
commit
4538b67a20
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
import random
|
import random
|
||||||
from util import hook, http
|
from util import hook, http
|
||||||
|
|
||||||
from util.formatting import truncate_words
|
from util.text import truncate_words
|
||||||
|
|
||||||
|
|
||||||
def api_get(kind, query):
|
def api_get(kind, query):
|
||||||
|
|
|
@ -4,7 +4,7 @@ Scaevolus 2009'''
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from util import hook, http
|
from util import hook, http
|
||||||
from util.formatting import truncate_words
|
from util.text import truncate_words
|
||||||
|
|
||||||
|
|
||||||
api_prefix = "http://en.wikipedia.org/w/api.php"
|
api_prefix = "http://en.wikipedia.org/w/api.php"
|
||||||
|
|
|
@ -5,7 +5,7 @@ from util import hook, http
|
||||||
|
|
||||||
from urllib2 import HTTPError
|
from urllib2 import HTTPError
|
||||||
from util.web import bitly, ShortenError
|
from util.web import bitly, ShortenError
|
||||||
from util.formatting import truncate_words
|
from util.text import truncate_words
|
||||||
|
|
||||||
|
|
||||||
@hook.command('wa')
|
@hook.command('wa')
|
||||||
|
|
Reference in a new issue