From 05010a9a28501e8aa78a80ff8e4064cf2fb4d43b Mon Sep 17 00:00:00 2001
From: Daniel de Leng <daniel.de.leng@liu.se>
Date: Wed, 3 Jul 2024 12:03:14 +0200
Subject: [PATCH] Fix incorrect relative paths

---
 scripts/generate_pydocs.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/generate_pydocs.py b/scripts/generate_pydocs.py
index ae78917d3..fc7ceb6fd 100644
--- a/scripts/generate_pydocs.py
+++ b/scripts/generate_pydocs.py
@@ -11,8 +11,8 @@ import sys
 import inspect
 import re
 
-sys.path.append('../build/python-api-src') #Unix
-sys.path.append('../build/python-api-src/Release') #Windows
+sys.path.append('build/python-api-src') #Unix
+sys.path.append('build/python-api-src/Release') #Windows
 import commandcenter
 
 def update_pyi_with_docstrings(pyi_path):
@@ -84,6 +84,6 @@ def update_pyi_with_docstrings(pyi_path):
 
 
 # Path to the generated .pyi file
-pyi_file_path = '../build/python-api-src/commandcenter.pyi' #Unix
+pyi_file_path = 'build/python-api-src/commandcenter.pyi' #Unix
 #pyi_file_path = 'build/python-api-src/Release/commandcenter.pyi' #Windows
 update_pyi_with_docstrings(pyi_file_path)
-- 
GitLab