INNER CODE UNIT · Python
funcLFI
volkandindar/agartha · Agartha.py:558
def funcLFI(self):
listLFI = []
dept = int(self._cbDictDepth.getSelectedItem())
if self._txtTargetPath.text.startswith('/') or self._txtTargetPath.text.startswith('\\'):
self._txtTargetPath.text = self._txtTargetPath.text[1:]
filePath = self._txtTargetPath.text.replace("\\","/")
counter = 0
if self._cbDictEquality.isSelected():
counter = dept
while counter <= dept:
_upperDirectory = ""
i = 1
while i <= counter:
_upperDirectory += "../"