Skip to content

Commit afb8141

Browse files
committed
github-repo-summary: Correctly sort alphabetically.
1 parent 2d4f488 commit afb8141

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python3/github-repo-summary.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
)
2222
print("Name | Stargazers | Description")
2323
print("|".join(["----"]*3))
24-
for r_name in sorted(args.repos):
24+
for r_name in sorted(args.repos, key=lambda v: v.upper()):
2525
try:
2626
r = github.get_repo(r_name)
2727
except:

0 commit comments

Comments
 (0)