Skip to content

Commit

Permalink
Merge pull request #97 from minrk/fix-encoding
Browse files Browse the repository at this point in the history
fix encoding when getting token from gh cli
  • Loading branch information
consideRatio authored Jun 12, 2024
2 parents 797226b + 2b9a099 commit 9751c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_activity/github_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_activity(
else:
# Attempt to use the gh cli if installed
try:
p = run(["gh", "auth", "token"], capture_output=True)
p = run(["gh", "auth", "token"], text=True, capture_output=True)
auth = p.stdout.strip()
except CalledProcessError:
print(
Expand Down

0 comments on commit 9751c18

Please sign in to comment.