make_readme.py : cast path to str inside the function, because webhook.py calls make_readme with a string
This commit is contained in:
parent
5e4094a462
commit
93194da0cf
1 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,9 @@ from pathlib import Path
|
|||
from jinja2 import Environment, FileSystemLoader
|
||||
|
||||
|
||||
def generate_READMEs(app_path: Path):
|
||||
def generate_READMEs(app_path: str):
|
||||
|
||||
app_path = Path(app_path)
|
||||
|
||||
if not app_path.exists():
|
||||
raise Exception("App path provided doesn't exists ?!")
|
||||
|
@ -62,4 +64,4 @@ if __name__ == "__main__":
|
|||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
generate_READMEs(Path(args.app_path))
|
||||
generate_READMEs(args.app_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue