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('\\')
|
items = path_clean.split('\\')
|
||||||
else:
|
else:
|
||||||
items = path_clean.split('/')
|
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 = {
|
path_items = {
|
||||||
"slug": None,
|
"slug": None,
|
||||||
|
|
Loading…
Reference in a new issue