aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/code
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-27 01:11:42 -0500
committermat <github@matdoes.dev>2022-05-27 01:11:42 -0500
commit68ab3d65247c02d469d77e5702f57e46f690965b (patch)
tree0bf5e7e4950fd82c0e1848b95c0ab0a3bcbdf2d2 /codegen/lib/code
parent7743bb1a84020752d49d1b308da6cc93f7254e80 (diff)
downloadazalea-drasl-68ab3d65247c02d469d77e5702f57e46f690965b.tar.xz
Fix codegen more
Diffstat (limited to 'codegen/lib/code')
-rw-r--r--codegen/lib/code/version.py3
1 files changed, 2 insertions, 1 deletions
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: `(.*)`.\*'