1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 03:54:47 +00:00
This commit is contained in:
deadc0de6
2018-12-27 15:39:49 +01:00
parent 7e42ccbee5
commit a268811ceb

View File

@@ -118,11 +118,11 @@ class Templategen:
for entry in os.listdir(path):
fpath = os.path.join(path, entry)
if not os.path.isfile(fpath):
# rec explore dir
# recursively explore directory
if Templategen.is_template(fpath):
return True
else:
# is file a template
# check if file is a template
if Templategen._is_template(fpath):
return True
return False