Improved path and name handling in new command

This commit is contained in:
Sven Heidemann 2021-04-10 11:14:37 +02:00
parent 70ae7dd9e6
commit b2c5d304f8
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class ConsoleBuilder:
for template in templates:
divider = ''
if not template.path.endswith('/'):
if template.path != '' and not template.path.endswith('/'):
divider = '/'
Console.spinner(

View File

@ -132,7 +132,7 @@ class LibraryBuilder:
for template in templates:
divider = ''
if not template.path.endswith('/'):
if template.path != '' and not template.path.endswith('/'):
divider = '/'
Console.spinner(