Skip to content

Commit

Permalink
Fix: small bug - forgot to update last script
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser authored Mar 20, 2024
2 parents 9628daf + 9b49669 commit b368421
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pyosmeta/cli/update_review_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

from pyosmeta.contributors import ProcessContributors
from pyosmeta.file_io import clean_export_yml, load_pickle
from pyosmeta.github_api import GitHubAPI
from pyosmeta.models import PersonModel


Expand All @@ -38,7 +39,8 @@ def get_clean_user(username: str) -> str:


def main():
process_contribs = ProcessContributors([])
github_api = GitHubAPI()
process_contribs = ProcessContributors(github_api, [])

# Two pickle files are outputs of the two other scripts
# use that data to limit web calls
Expand Down Expand Up @@ -96,7 +98,7 @@ def main():
if gh_user not in contribs.keys():
# If they aren't already in contribs, add them
print("Found a new contributor!", gh_user)
new_contrib = process_contribs.get_user_info(gh_user)
new_contrib = process_contribs.return_user_info(gh_user)
new_contrib["date_added"] = datetime.now().strftime(
"%Y-%m-%d"
)
Expand Down

0 comments on commit b368421

Please sign in to comment.