diff options
Diffstat (limited to 'codegen/lib/code/version.py')
| -rw-r--r-- | codegen/lib/code/version.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codegen/lib/code/version.py b/codegen/lib/code/version.py index e131a598..511d30d1 100644 --- a/codegen/lib/code/version.py +++ b/codegen/lib/code/version.py @@ -1,7 +1,8 @@ +from lib.utils import get_dir_location import re import os -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: `(.*)`.\*' |
