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
5455158ea0
commit
971deb387b
1 changed files with 5 additions and 4 deletions
|
@ -123,13 +123,14 @@ def run(manual_args=None):
|
|||
"3.7"
|
||||
):
|
||||
print(
|
||||
f"""{WARNING_COLOR}
|
||||
WARNING: Python versions below 3.7 will no longer be supported as of jrnl v2.5
|
||||
(the next release). You are currently on Python {platform.python_version()}. Please update to
|
||||
Python 3.7 (or higher) soon.
|
||||
f"""{ERROR_COLOR}
|
||||
ERROR: Python version {platform.python_version()} not supported.
|
||||
|
||||
Please update to Python 3.7 (or higher) in order to use jrnl.
|
||||
{RESET_COLOR}""",
|
||||
file=sys.stderr,
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
if manual_args is None:
|
||||
manual_args = sys.argv[1:]
|
||||
|
|
Loading…
Add table
Reference in a new issue