Skip to content

Required to have --use-outbox - otherwise UnboundLocalError: cannot access local variable 'outbox_path' #12

@benjaoming

Description

@benjaoming

Hey!

If I just run:

❯ ./mastodon-data-viewer.py 
Traceback (most recent call last):
  File "mastodon-data-viewer.py/data/./mastodon-data-viewer.py", line 603, in <module>
    main()
  File "mastodon-data-viewer.py/data/./mastodon-data-viewer.py", line 490, in main
    for p in [actor_path, outbox_path]:

UnboundLocalError: cannot access local variable 'outbox_path' where it is not associated with a value

But this works:

❯ ./mastodon-data-viewer.py --use-outbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions