handle public folder shenanigans
This commit is contained in:
parent
a2935a5251
commit
50f7ee786d
|
@ -413,6 +413,10 @@ def clean_path(path):
|
|||
items = path_clean.split('\\')
|
||||
else:
|
||||
items = path_clean.split('/')
|
||||
# TODO ugly hack to handle poonam outputting public, but we want ./
|
||||
print(items)
|
||||
if items[0] == 'public':
|
||||
items[0] = './'
|
||||
|
||||
path_items = {
|
||||
"slug": None,
|
||||
|
|
Loading…
Reference in a new issue