moonraker: remove the python version check
Moonraker depends on "future" annotations and uses fstrings, so versions of Python older than 3.7 will fail to load and never make it to the version check. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
f83f476f81
commit
7679f8063f
|
@ -7,14 +7,6 @@
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
import sys
|
import sys
|
||||||
if sys.version_info < (3, 7):
|
|
||||||
msg = (
|
|
||||||
"Moonraker requires Python 3.7 or above. "
|
|
||||||
"Detected Version: %s\n"
|
|
||||||
)
|
|
||||||
sys.stdout.write(msg % (sys.version,))
|
|
||||||
sys.stderr.write(msg % (sys.version,))
|
|
||||||
exit(1)
|
|
||||||
import argparse
|
import argparse
|
||||||
import importlib
|
import importlib
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in New Issue