Skip to content

Defenders are listed in duplicate when using defenders list #83

@dukekautington3rd

Description

@dukekautington3rd

Describe the bug

pc defenders list produces duplicate output of each defender

Expected behavior

I would expect to see a single entry for each defender.

Current behavior

When using pc defenders list and any output format, each defender is listed double.

Possible solution

Discover why this duplicate output happens.
During debug I noticed that the data stored from the api call, is singular and doesn't seem to become duplicate until formatting or output occurs.

Steps to reproduce

pc defenders list

Screenshots

Output from command showing double:
Uploading Screen Shot 2022-09-29 at 5.07.08 PM.png…

Debug showing single data store:
Uploading Screen Shot 2022-09-29 at 5.03.33 PM.png…

Context

None needed

Your Environment

  • Version used: Python 3.10.6
  • Operating System and version (desktop or mobile): MacOS

Metadata

Metadata

Assignees

No one assigned

    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