mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-05-01 12:14:55 +00:00
Use strings explicitly for template directories
This commit is contained in:
parent
f45cd228f9
commit
8cd8a17bc1
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class Command(BaseCommand):
|
|||
tpl_dirs = app_template_dirs + DIRS
|
||||
else:
|
||||
tpl_dirs = DIRS + app_template_dirs
|
||||
templatedirs = [d for d in tpl_dirs if os.path.isdir(d)]
|
||||
templatedirs = [str(d) for d in tpl_dirs if os.path.isdir(d)]
|
||||
|
||||
for templatedir in templatedirs:
|
||||
for dirpath, subdirs, filenames in os.walk(templatedir):
|
||||
|
|
|
|||
Loading…
Reference in a new issue