mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 05:26:11 +00:00
comments
This commit is contained in:
@@ -118,11 +118,11 @@ class Templategen:
|
|||||||
for entry in os.listdir(path):
|
for entry in os.listdir(path):
|
||||||
fpath = os.path.join(path, entry)
|
fpath = os.path.join(path, entry)
|
||||||
if not os.path.isfile(fpath):
|
if not os.path.isfile(fpath):
|
||||||
# rec explore dir
|
# recursively explore directory
|
||||||
if Templategen.is_template(fpath):
|
if Templategen.is_template(fpath):
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
# is file a template
|
# check if file is a template
|
||||||
if Templategen._is_template(fpath):
|
if Templategen._is_template(fpath):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user