Skip to content

Deprecation Warning on Github authentication #177

@Sanix-Darker

Description

@Sanix-Darker

Hello, i really like the project and i use it daily for my personal stats infos,
recently i found an issue related to pyGithub latest update i guess...

WHAT

Image

MY PROPOSAL TO FIX

In main.py around Line 481 i suggest :

    auth = Auth.Token(wk_i.gh_token)
    gh_connect = Github(auth=auth)
    gh_repo = gh_connect.get_repo(str(wk_i.repository))

instead of

    gh_connect = Github(wk_i.gh_token)
    gh_repo = gh_connect.get_repo(str(wk_i.repository))

If you find this update useful, please just let me know so that i can open a PR for it 🙏🏽

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