1
0
Fork 0

Fix readme_generator/webhook: make_readme now uses pathlib

This commit is contained in:
Félix Piédallu 2024-03-14 15:32:41 +01:00
parent 8a20bdf90a
commit 89a6c672b3

View file

@ -1,6 +1,7 @@
#!/usr/bin/env python3
import asyncio
from pathlib import Path
import hashlib
import hmac
import os
@ -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)