refs #1308 fix loop in ogGetPath

pull/1/head
Natalia Serrano 2024-12-18 13:38:46 +01:00
parent 93177def1f
commit 32d5305dc2
1 changed files with 2 additions and 1 deletions

View File

@ -358,7 +358,8 @@ def ogGetPath (src=None, file=None):
#print (f'ls_path no existe, filepath ({filepath})')
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})')
return filepath