diff --git a/mastodon_archive/archive.py b/mastodon_archive/archive.py index dc76c99..105fbb7 100644 --- a/mastodon_archive/archive.py +++ b/mastodon_archive/archive.py @@ -74,7 +74,7 @@ def complete(statuses, page, func = None): keys. That's why we fetch it all over again. Expiry helps, obviously. """ - seen = { str(status["id"]): status for status in statuses } + seen = { str(status["id"]): status for status in statuses if status is not None } if not args.quiet: progress = core.progress_bar()