except IOError:
logging.exception('failed')
- def download_cards_json(self, json_path='cards.json', url='https://dl.dropboxusercontent.com/u/32733446/cards.json'):
+ def download_cards_json(self, json_path='data/cards.json', url='https://dl.dropboxusercontent.com/u/32733446/cards.json'):
logging.debug('downloading %s from %s', json_path, url)
try:
urllib.urlretrieve(url, json_path)