Skip to content
This repository was archived by the owner on Mar 11, 2023. It is now read-only.
This repository was archived by the owner on Mar 11, 2023. It is now read-only.

TypeError: string indices must be integers #122

@deronnax

Description

@deronnax
Traceback (most recent call last):
  File "/Users/mathieudupuy/.pyenv/versions/3.6.15/bin/potodo", line 8, in <module>
    sys.exit(main())
  File "/Users/mathieudupuy/.pyenv/versions/3.6.15/lib/python3.6/site-packages/potodo/potodo.py", line 232, in main
    args.no_reserved,
  File "/Users/mathieudupuy/.pyenv/versions/3.6.15/lib/python3.6/site-packages/potodo/potodo.py", line 78, in exec_potodo
    issue_reservations = get_gh_issue_reservation()
  File "/Users/mathieudupuy/.pyenv/versions/3.6.15/lib/python3.6/site-packages/potodo/potodo.py", line 23, in get_gh_issue_reservation
    issue["title"].split()[-1].lower(): issue["user"]["login"] for issue in issues
  File "/Users/mathieudupuy/.pyenv/versions/3.6.15/lib/python3.6/site-packages/potodo/potodo.py", line 23, in <dictcomp>
    issue["title"].split()[-1].lower(): issue["user"]["login"] for issue in issues
TypeError: string indices must be integers

looks a bit similar to #117

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions