Closed symmetryaktion closed 1 year ago
i fixed it up with this
def version_check():
version_info = sys.version_info
if version_info.major < 3 and version_info.minor < 9:
string = f"Execute the script with Python 3.9, you are using {str(version_info.major)}.{str(version_info.minor)} \n"
string += "Press enter to continue"
input(string)
exit(0)
# Updating any outdated config values
On tests\main_test.py there's a function where it checks for python version. Sadly i was wondering, why there's a logic where it converts the version into float
That way, it creates a warning:
Execute the script with Python 3.9