From 68ab3d65247c02d469d77e5702f57e46f690965b Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 27 May 2022 01:11:42 -0500 Subject: Fix codegen more --- codegen/lib/code/version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'codegen/lib/code/version.py') diff --git a/codegen/lib/code/version.py b/codegen/lib/code/version.py index e131a598..4c8500be 100644 --- a/codegen/lib/code/version.py +++ b/codegen/lib/code/version.py @@ -1,7 +1,8 @@ import re import os +from lib.utils import get_dir_location -README_DIR = os.path.join(os.path.dirname(__file__), '../../../README.md') +README_DIR = get_dir_location('../README.md') VERSION_REGEX = r'\*Currently supported Minecraft version: `(.*)`.\*' -- cgit v1.2.3