Skip to content

Commit

Permalink
[mod] pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Apr 6, 2015
1 parent 7b94b83 commit ce6a81a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper/scraper.py
Expand Up @@ -39,6 +39,7 @@ def lxml_get(url, name, cache, sync):
soup = etree.parse(text, etree.HTMLParser())
return soup


def retreive_content(url, key, cache, sync):
if cache and exists('dump/%s' % key):
return open('dump/%s' % key, "r").read()
Expand Down

0 comments on commit ce6a81a

Please sign in to comment.