refs #1308 fix loop in ogGetPath
parent
93177def1f
commit
32d5305dc2
|
@ -358,7 +358,8 @@ def ogGetPath (src=None, file=None):
|
||||||
#print (f'ls_path no existe, filepath ({filepath})')
|
#print (f'ls_path no existe, filepath ({filepath})')
|
||||||
|
|
||||||
prevfile = f
|
prevfile = f
|
||||||
f = '/'.join (f.split('/')[1:]) ## remove 1st component
|
if '/' in f:
|
||||||
|
f = '/'.join (f.split('/')[1:]) ## remove 1st component
|
||||||
#print (f'f ({f}) prevfile ({prevfile})')
|
#print (f'f ({f}) prevfile ({prevfile})')
|
||||||
|
|
||||||
return filepath
|
return filepath
|
||||||
|
|
Loading…
Reference in New Issue