mirror of
https://github.com/sigmasternchen/github-stats
synced 2025-03-15 08:09:03 +00:00
Add env variable for alternative username
This commit is contained in:
parent
7eba67ea4e
commit
0c31b995d3
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ Languages:
|
|||
):
|
||||
continue
|
||||
author = author_obj.get("author", {}).get("login", "")
|
||||
if author != self.username:
|
||||
if author not in [ self.username, os.environ.get("ALT_USERNAME", "") ]:
|
||||
continue
|
||||
|
||||
for week in author_obj.get("weeks", []):
|
||||
|
|
Loading…
Reference in a new issue