Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/Psycojoker/dierentheater

  • Loading branch information...
commit 9c178c27dce377a48a8b794463e109eca17334de 2 parents 0dfd5f2 + db3a23f
@Psycojoker Psycojoker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lachambre_parser/utils.py
View
2  lachambre_parser/utils.py
@@ -158,7 +158,7 @@ def lxml_read_or_dl_with_nl(url, name, reset=False):
def lxml_read_or_dl(url, name, reset=False):
logger.debug("LXML parsing %s --- %s" % (url, name))
- if not reset and exists('dump/%s' % name):
+ if not reset and exists('dump/%s' % name) and settings.CACHE_SCRAPING:
text = open('dump/%s' % name)
else:
text = urlopen(url)
Please sign in to comment.
Something went wrong with that request. Please try again.