From fd2c477173c7c08ca19c734b71d87ba3d391e3b9 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 24 May 2015 23:46:09 +0200 Subject: [PATCH] Use the path variable, not the type --- jekyll_new_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll_new_post.py b/jekyll_new_post.py index b2851a9..2aa4130 100755 --- a/jekyll_new_post.py +++ b/jekyll_new_post.py @@ -17,7 +17,7 @@ import yaml def is_jekyll_root(path: Path): - return (Path / "_config.yml").exists() + return (path / "_config.yml").exists() def hash_file(filename: Path) -> str: