mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 18:31:16 +00:00
chore(contrib): include pkg source in pkg logging (#9035)
* fix(backend): wrong path for version was used * chore(contrib): Include Pkg source in pkg logging
This commit is contained in:
1 parent
8bea3caec4
commit
a3be8e986b
2 files changed
+13
-1
No files matched your search
@@ -70,7 +70,7 @@ BASE_DIR = config.get_base_dir()
|
||||
CONFIG = config.load_config_data(set_cache=True)
|
||||
|
||||
# Load VERSION data if it exists
|
||||
version_file = BASE_DIR.parent.joinpath('VERSION')
|
||||
version_file = BASE_DIR.parent.parent.parent.joinpath('VERSION')
|
||||
if version_file.exists():
|
||||
print('load version from file')
|
||||
load_dotenv(version_file)
|
||||
|
||||
Reference in new issue
Block a user