Skip to content

first run of twacapic fails #22

@pekasen

Description

@pekasen

The first run of twacapic fails if the results-directory is not present.

❯ twacapic 
Hello friend …
Please enter your API key:XXX
Please enter your API secret:XXX
Traceback (most recent call last):
  File "/home/user/repos/twacapic/.venv/bin/twacapic", line 5, in <module>
    run()
  File "/home/user/repos/twacapic/twacapic/main.py", line 95, in run
    one_run(args.userlist, args.groupname, args.group_config)
  File "/home/user/repos/twacapic/twacapic/main.py", line 85, in one_run
    user_group = UserGroup(path=userlist, name=groupname,
  File "/home/user/repos/twacapic/twacapic/collect.py", line 34, in __init__
    item for item in os.listdir(self.path) if os.path.isdir(
FileNotFoundError: [Errno 2] No such file or directory: 'results/u'

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions