Fixed formatting.

This commit is contained in:
Fletcher Boyd 2013-09-04 18:30:04 +08:00
parent 146ae3c279
commit 4069dd21a3
89 changed files with 615 additions and 496 deletions

View file

@ -1,13 +1,14 @@
# Plugin by Infinity - <https://github.com/infinitylabs/UguuBot>
from util import hook, http
import random
from util import hook, http
mlia_cache = []
def refresh_cache():
"gets a page of random MLIAs and puts them into a dictionary "
"""gets a page of random MLIAs and puts them into a dictionary """
url = 'http://mylifeisaverage.com/%s' % random.randint(1, 11000)
soup = http.get_soup(url)