Skip to content

Commit

Permalink
Fix readme_generator/webhook: make_readme now uses pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Piédallu committed Mar 14, 2024
1 parent d2b8c99 commit cacbb29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/readme_generator/webhook.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3

import asyncio
from pathlib import Path
import hashlib
import hmac
import os
Expand Down Expand Up @@ -90,7 +91,7 @@ async def on_push(request):
folder,
]
)
generate_READMEs(folder)
generate_READMEs(Path(folder))

await git(["add", "README*.md"], in_folder=folder)

Expand Down

0 comments on commit cacbb29

Please sign in to comment.