Improved path and name handling in new command
This commit is contained in:
parent
70ae7dd9e6
commit
b2c5d304f8
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user