diff --git a/src/bizy_server/api_client.py b/src/bizy_server/api_client.py index 63cd53b7..58d748a6 100644 --- a/src/bizy_server/api_client.py +++ b/src/bizy_server/api_client.py @@ -11,7 +11,7 @@ from .error_handler import ErrorHandler from .utils import is_string_valid -with open("version.txt", "r") as file: +with open(f"{os.path.dirname(__file__)}/../../version.txt", "r") as file: CLIENT_VERSION = file.read()