mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 18:45:40 +00:00
Handle missing dulwich module (#7497)
- If "invoke version" called from outside venv, may not detect correct dulwich module - Ref: https://github.com/inventree/InvenTree/issues/7444
This commit is contained in:
4
tasks.py
4
tasks.py
@ -1069,8 +1069,8 @@ API {InvenTreeVersion.inventreeApiVersion()}
|
||||
Node {node if node else 'N/A'}
|
||||
Yarn {yarn if yarn else 'N/A'}
|
||||
|
||||
Commit hash:{InvenTreeVersion.inventreeCommitHash()}
|
||||
Commit date:{InvenTreeVersion.inventreeCommitDate()}"""
|
||||
Commit hash: {InvenTreeVersion.inventreeCommitHash()}
|
||||
Commit date: {InvenTreeVersion.inventreeCommitDate()}"""
|
||||
)
|
||||
if len(sys.argv) == 1 and sys.argv[0].startswith('/opt/inventree/env/lib/python'):
|
||||
print(
|
||||
|
Reference in New Issue
Block a user