nanos/FediFetcher

7.1.2 Crashes due to an error in copy-pasted code

justjanne opened this issue · 1 comments

if(toot_context_should_be_fetched(toot)):

Traceback (most recent call last):
  File "/app/find_posts.py", line 1521, in <module>
    context_urls = get_all_context_urls(arguments.server, replied_toot_ids, seen_hosts)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/find_posts.py", line 756, in get_all_context_urls
    if(toot_context_should_be_fetched(toot)):
                                      ^^^^
NameError: name 'toot' is not defined

I believe this has been fixed in this commit: e7da9a1

can you confirm please?