mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 03:19:48 +00:00
Fix relative paths for non-collection resources in confetty
This commit is contained in:
parent
a8ee40250c
commit
271e9076c1
@ -298,7 +298,7 @@ def fullpath_target(path, forcepath=False):
|
||||
del targparts[-1]
|
||||
else:
|
||||
targparts.append(component)
|
||||
if forcepath and len(targparts) == 0 or targparts[-1] != "":
|
||||
if forcepath and (len(targparts) == 0 or targparts[-1] != ""):
|
||||
targparts.append('')
|
||||
ntarget = '/'.join(targparts)
|
||||
if forcepath and (len(ntarget) == 0 or ntarget[-1] != '/'):
|
||||
|
Loading…
Reference in New Issue
Block a user