BASC-py4chan icon indicating copy to clipboard operation
BASC-py4chan copied to clipboard

Update exception

Open DanielOaks opened this issue 9 years ago • 0 comments

Got this exception while updating. Related to #14

Exception in thread Thread-5:
Traceback (most recent call last):
  File "<site>/basc_archiver/sites/base.py", line 62, in run
  File "<site>/basc_archiver/sites/fourchan.py", line 219, in download_item
    print('  Thread JSON downloaded.')
  File "<site>/basc_py4chan/thread.py", line 172, in update
    self.replies.extend(Post(self, p) for p in posts if p['no'] > self.last_reply_id)
  File "<site>/basc_py4chan/thread.py", line 172, in <genexpr>
    self.replies.extend(Post(self, p) for p in posts if p['no'] > self.last_reply_id)
KeyError: 'no'

DanielOaks avatar Sep 23 '15 03:09 DanielOaks