You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fourchan.py, there happen to be these notes in line 246:
# TODO: extend BASC-py4chan to give us this number directly
self.threads[thread_id]['total_files'] = len(list(thread['thread'].filenames()))
And line 255:
# TODO: extend BASC-py4chan to give us this number directly
self.threads[thread_id]['total_files'] = len(list(running_thread.filenames()))
Apparently, it might be a good idea to have a file_count() method in basc_py4chan.Thread that counts the amount of replies where has_file returns True.
The text was updated successfully, but these errors were encountered:
In
fourchan.py
, there happen to be these notes in line 246:And line 255:
Apparently, it might be a good idea to have a
file_count()
method inbasc_py4chan.Thread
that counts the amount of replies wherehas_file
returnsTrue
.The text was updated successfully, but these errors were encountered: