diff --git a/utils/fileReader.py b/utils/fileReader.py index 9fe36f7..54fd70b 100644 --- a/utils/fileReader.py +++ b/utils/fileReader.py @@ -18,7 +18,7 @@ def readFile(filePath): try: - filePath = filePath.replace('../', '') + filePath = filePath.replace('..', '') if not ALLOW_SYMLINKS: if islink(filePath): @@ -60,4 +60,4 @@ def readFileByLines(filePath): return True else: showError(exceptionRule="File Error", Message=f"There's an error trying to open {filePath}") - return False \ No newline at end of file + return False