[FIX] Bug fix for template path ValueError
Add cleaning step to remove ending slash in template path entered from CLI Change-Id: I1ec8f48918b54b4733658ed7001b6e6462bef7a8
This commit is contained in:
parent
f53c51edc1
commit
9d983e4874
@ -59,7 +59,7 @@ class SiteProcessor(BaseProcessor):
|
||||
logging_undefined = \
|
||||
jinja2.make_logging_undefined(LOG, base=jinja2.StrictUndefined)
|
||||
|
||||
template_folder_name = os.path.split(template_dir)[1]
|
||||
template_folder_name = os.path.split(template_dir.rstrip(os.sep))[1]
|
||||
created_file_list = []
|
||||
created_dir_list = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user