mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-05 15:33:54 +00:00
ensure is_template handles tild properly
This commit is contained in:
@@ -93,6 +93,7 @@ class Templategen:
|
||||
|
||||
def is_template(path):
|
||||
"""recursively check if any file is a template within path"""
|
||||
path = os.path.expanduser(path)
|
||||
if not os.path.exists(path):
|
||||
return False
|
||||
if os.path.isfile(path):
|
||||
|
||||
Reference in New Issue
Block a user