mirror of
https://github.com/Nick80835/microbot
synced 2025-08-30 14:08:31 +00:00
Fix version check
This commit is contained in:
parent
c59feffe15
commit
a413223df4
@ -11,7 +11,7 @@ from telethon.network.connection.tcpabridged import \
|
|||||||
from .loader import Loader
|
from .loader import Loader
|
||||||
from .settings import Settings
|
from .settings import Settings
|
||||||
|
|
||||||
if sys.version_info[0] < 3 or sys.version_info[1] < 6:
|
if sys.version_info.major < 3 or (sys.version_info.major == 3 and sys.version_info.minor < 6):
|
||||||
print("This program requires at least Python 3.6.0 to work correctly, exiting.")
|
print("This program requires at least Python 3.6.0 to work correctly, exiting.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user