Skip to content

Commit

Permalink
Merge pull request #2129 from YunoHost/fix_pathlib
Browse files Browse the repository at this point in the history
Fix readme_generator/webhook: make_readme now uses pathlib
  • Loading branch information
tituspijean authored Mar 14, 2024
2 parents d2b8c99 + cacbb29 commit ab17a76
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 ab17a76

Please sign in to comment.