forked from mirrors/thatmattlove-hyperglass
changed incorrect Python3 requirement message from 3.7 to 3.6
This commit is contained in:
parent
4a8e800852
commit
c1afe43df5
1 changed files with 3 additions and 3 deletions
|
|
@ -35,13 +35,13 @@ def hg():
|
|||
|
||||
@hg.command("pre-check", help="Check hyperglass config & readiness")
|
||||
def pre_check():
|
||||
if sys.version_info < (3, 7):
|
||||
if sys.version_info < (3, 6):
|
||||
click.secho(
|
||||
f"Hyperglass requires Python 3.7 or higher. Curren version: Python {sys.version.split()[0]}",
|
||||
f"Hyperglass requires Python 3.6 or higher. Curren version: Python {sys.version.split()[0]}",
|
||||
fg="red",
|
||||
bold=True,
|
||||
)
|
||||
if sys.version_info >= (3, 7):
|
||||
if sys.version_info >= (3, 6):
|
||||
click.secho(
|
||||
f"✓ Python Version Check passed (Current version: Python {sys.version.split()[0]})",
|
||||
fg="green",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue