Merge pull request #2129 from YunoHost/fix_pathlib
Fix readme_generator/webhook: make_readme now uses pathlib
This commit is contained in:
commit
1f4d3ff86d
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue