mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
update python deprecation message
This commit is contained in:
parent
f08aee2113
commit
1ebbcbbb7b
1 changed files with 5 additions and 4 deletions
|
@ -123,13 +123,14 @@ def run(manual_args=None):
|
||||||
"3.7"
|
"3.7"
|
||||||
):
|
):
|
||||||
print(
|
print(
|
||||||
f"""{WARNING_COLOR}
|
f"""{ERROR_COLOR}
|
||||||
WARNING: Python versions below 3.7 will no longer be supported as of jrnl v2.5
|
ERROR: Python version {platform.python_version()} not supported.
|
||||||
(the next release). You are currently on Python {platform.python_version()}. Please update to
|
|
||||||
Python 3.7 (or higher) soon.
|
Please update to Python 3.7 (or higher) in order to use jrnl.
|
||||||
{RESET_COLOR}""",
|
{RESET_COLOR}""",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
if manual_args is None:
|
if manual_args is None:
|
||||||
manual_args = sys.argv[1:]
|
manual_args = sys.argv[1:]
|
||||||
|
|
Loading…
Add table
Reference in a new issue