2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-30 14:08:31 +00:00

Fix version check

This commit is contained in:
Samuel Hernandez
2020-07-18 19:41:58 -04:00
committed by Nick80835
parent c59feffe15
commit a413223df4

View File

@@ -11,7 +11,7 @@ from telethon.network.connection.tcpabridged import \
from .loader import Loader
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.")
sys.exit(1)