diff --git a/tools/fakeportal/fakeportal.py b/tools/fakeportal/fakeportal.py index 43ae68a5c3..9fdbcd01cc 100755 --- a/tools/fakeportal/fakeportal.py +++ b/tools/fakeportal/fakeportal.py @@ -99,7 +99,7 @@ class MyHttpRequestHandler(http.server.SimpleHTTPRequestHandler): print(query_components, file=sys.stderr) if "etapes" in self.path.lower(): - self.path = "etapes.xml" + self.path = str(Path(script_dir / "etapes.xml").relative_to(Path.cwd())) elif "scodocEtudiant" in self.path: # 2 forms: nip=xxx or etape=eee&annee=aaa if "nip" in query_components: